Executable.__call__ original semantics were to avoid redirecting process output
to the output stream if return_output was set. This branch undid that and this commit restores those semantics.
This commit is contained in:
parent
18dea24df8
commit
60f7756626
1 changed files with 2 additions and 1 deletions
|
@ -100,7 +100,8 @@ def streamify(arg, mode):
|
|||
out, err = proc.communicate()
|
||||
self.returncode = proc.returncode
|
||||
|
||||
output.write(out)
|
||||
if not return_output:
|
||||
output.write(out)
|
||||
error.write(err)
|
||||
|
||||
rc = proc.returncode
|
||||
|
|
Loading…
Reference in a new issue