Accesss stdout in VERBOSE we do not need it otherwise
This commit is contained in:
parent
242bb30087
commit
b9dbd0b681
1 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue