Sfoglia il codice sorgente

trying to fix git running on unix

Vladislav Folts 12 anni fa
parent
commit
00ca2dda1b
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      build.py

+ 1 - 1
build.py

@@ -5,7 +5,7 @@ import subprocess
 import sys
 
 def run(cmd):
-    p = subprocess.Popen(cmd, stdout = subprocess.PIPE, stderr = subprocess.STDOUT)
+    p = subprocess.Popen(cmd, stdout = subprocess.PIPE, stderr = subprocess.STDOUT, shell = True)
     return p.stdout.read().decode()
 
 def build(out, use_git):