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:
Peter Scheibel 2015-11-25 12:28:43 -08:00
parent 18dea24df8
commit 60f7756626

View file

@ -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