Commit c419d761 authored by Guillaume Seguin's avatar Guillaume Seguin

Actually fix #511 (forgot to commit this)

parent 62879f00
...@@ -107,7 +107,7 @@ def prepare_command(command, replaces = None): ...@@ -107,7 +107,7 @@ def prepare_command(command, replaces = None):
def run_command(command, replaces = None, stdout = subprocess.STDOUT, stderr = subprocess.STDOUT, blocking = False): def run_command(command, replaces = None, stdout = subprocess.STDOUT, stderr = subprocess.STDOUT, blocking = False):
command = prepare_command(command, replaces) command = prepare_command(command, replaces)
if blocking: if blocking:
return subprocess.call(command, stderr = stderr, stdout = stdout) return subprocess.call(command)
else: else:
return subprocess.Popen(command, stderr = stderr, stdout = stdout) return subprocess.Popen(command, stderr = stderr, stdout = stdout)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment