fix: add shell=True to make run-gn-format run properly on Windows (#18993)

This commit is contained in:
Heilig Benedek 2019-07-01 19:47:16 +02:00 committed by Shelley Vohr
parent c7da54e82a
commit 5a3073128c

View file

@ -15,6 +15,7 @@ def main():
for gn_file in sys.argv[1:]: for gn_file in sys.argv[1:]:
subprocess.check_call( subprocess.check_call(
['gn', 'format', gn_file], ['gn', 'format', gn_file],
shell=True,
env=new_env env=new_env
) )