python-setup: flush at the end of _check_call
This commit is contained in:
parent
2264307214
commit
ca8a78d5f3
1 changed files with 2 additions and 0 deletions
|
|
@ -15,6 +15,8 @@ def _check_call(command, extra_env={}):
|
||||||
env = os.environ.copy()
|
env = os.environ.copy()
|
||||||
env.update(extra_env)
|
env.update(extra_env)
|
||||||
subprocess.check_call(command, stdin=subprocess.DEVNULL, env=env)
|
subprocess.check_call(command, stdin=subprocess.DEVNULL, env=env)
|
||||||
|
sys.stdout.flush()
|
||||||
|
sys.stderr.flush()
|
||||||
|
|
||||||
|
|
||||||
def _check_output(command, extra_env={}):
|
def _check_output(command, extra_env={}):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue