зеркало из https://github.com/mozilla/pjs.git
Hopefully fix a bug on Windows, where we were trying to read from stdout but hadn't created the process with the flags to actually make the stdout be available to read. r=bustage
This commit is contained in:
Родитель
f7abfd1638
Коммит
29a8c785e5
|
@ -160,7 +160,9 @@ class Process:
|
|||
import subprocess
|
||||
cmd = [command]
|
||||
cmd.extend(args)
|
||||
p = subprocess.Popen(cmd, env = env)
|
||||
p = subprocess.Popen(cmd, env = env,
|
||||
stdout = subprocess.PIPE,
|
||||
stderr = subprocess.STDOUT)
|
||||
self._out = p.stdout
|
||||
else:
|
||||
import popen2
|
||||
|
|
Загрузка…
Ссылка в новой задаче