print stdout as well

This commit is contained in:
wiredfool 2016-05-06 08:54:35 -07:00
parent 8a061218ee
commit 0c97af69bf

View File

@ -39,7 +39,10 @@ def run_script(params):
) )
(trace, stderr) = proc.communicate() (trace, stderr) = proc.communicate()
status = proc.returncode status = proc.returncode
print("-- stderr --")
print(stderr) print(stderr)
print("-- stdout --")
print(trace)
print("Done with %s: %s" % (version, status)) print("Done with %s: %s" % (version, status))
return (version, status, trace, stderr) return (version, status, trace, stderr)
except Exception as msg: except Exception as msg: