Accesss stdout in VERBOSE we do not need it otherwise

This commit is contained in:
Pierre-Yves Chibon 2014-09-09 12:00:03 +02:00
parent 242bb30087
commit b9dbd0b681

View file

@ -87,10 +87,10 @@ def _invoke(program, args):
print ' '.join(cmdLine)
if VERBOSE:
program = subprocess.Popen(cmdLine, stderr=subprocess.STDOUT)
else:
program = subprocess.Popen(
cmdLine, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
else:
program = subprocess.Popen(cmdLine, stderr=subprocess.STDOUT)
retCode = program.wait()
if retCode != 0: