浏览代码

trying to fix git running on unix

Vladislav Folts 12 年之前
父节点
当前提交
00ca2dda1b
共有 1 个文件被更改,包括 1 次插入1 次删除
  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):