Merge pull request #1389 from CookiePLMonster/fix-vswhere-output

[xenia-build] Make vswhere.exe output in UTF-8
This commit is contained in:
Rick Gibbed 2019-06-29 09:02:40 -05:00 committed by GitHub
commit b38dfca482
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ def import_vs_environment():
install_path = None
env_tool_args = None
vswhere = subprocess.check_output('third_party/vswhere/vswhere.exe -version "[15,)" -latest -format json', shell=False, universal_newlines=True)
vswhere = subprocess.check_output('third_party/vswhere/vswhere.exe -version "[15,)" -latest -format json -utf8', shell=False, universal_newlines=True)
if vswhere:
vswhere = json.loads(vswhere)
if vswhere and len(vswhere) > 0: