Commit 8599bcdd authored by Ming Rui Zhang's avatar Ming Rui Zhang Committed by Andreas Traczyk

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

Change-Id: Ia03ace8826ac44820c621c9ff2ee1a99b26bbf1b
parent fb09e1a7
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment