Commit f892f6c5 authored by Andreas Traczyk's avatar Andreas Traczyk

windows build: ignore utf-8 decode errors when acquiring vs envvars

Change-Id: Id4c8b662a6e10d65bb106cf5ff917f97c8ff4089
parent a23a1af2
......@@ -73,7 +73,7 @@ def getVSEnv(arch='x64', platform='', version=''):
stdout, _ = p.communicate()
out = stdout.decode('utf-8').split("\r\n")[5:-1]
out = stdout.decode('utf-8', 'ignore').split("\r\n")[5:-1]
return dict(s.split('=', 1) for s in out)
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