Skip to content
Snippets Groups Projects
Commit 8599bcdd authored by Ming Rui Zhang's avatar Ming Rui Zhang Committed by Andreas Traczyk
Browse files

build: ignore python utf-8 parsing errors when finding vs lastest dir

Change-Id: Ia03ace8826ac44820c621c9ff2ee1a99b26bbf1b
parent fb09e1a7
No related branches found
No related tags found
No related merge requests found
......@@ -81,7 +81,7 @@ def findVSLatestDir():
'-property installationPath'
]
cmd = [vs_where_path] + args
output = subprocess.check_output(' '.join(cmd)).decode('utf-8')
output = subprocess.check_output(' '.join(cmd)).decode('utf-8', errors='ignore')
if output:
return output.splitlines()[0]
else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment