Browse Source

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

Heilig Benedek 5 years ago
parent
commit
5a3073128c
1 changed files with 1 additions and 0 deletions
  1. 1 0
      script/run-gn-format.py

+ 1 - 0
script/run-gn-format.py

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