print winbuild compile output properly

This commit is contained in:
nulano 2019-07-04 23:04:16 +02:00
parent ea5b30d212
commit b80aa67db2

View File

@ -50,9 +50,9 @@ 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(stderr.decode())
print("-- stdout --") print("-- stdout --")
print(trace) print(trace.decode())
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: