mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-23 04:01:16 +00:00
[git] Update the llvm git helper script to work correctly with the
latest Python versions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@313435 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
679ad58393
commit
b2acab96a2
@ -107,7 +107,7 @@ def shell(cmd, strip=True, cwd=None, stdin=None, die_on_failure=True,
|
|||||||
|
|
||||||
start = time.time()
|
start = time.time()
|
||||||
p = subprocess.Popen(cmd, cwd=cwd, stdout=subprocess.PIPE, stderr=err_pipe,
|
p = subprocess.Popen(cmd, cwd=cwd, stdout=subprocess.PIPE, stderr=err_pipe,
|
||||||
stdin=subprocess.PIPE)
|
stdin=subprocess.PIPE, universal_newlines=True)
|
||||||
stdout, stderr = p.communicate(input=stdin)
|
stdout, stderr = p.communicate(input=stdin)
|
||||||
elapsed = time.time() - start
|
elapsed = time.time() - start
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user