1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-13 03:19:53 +03:00

Add more logs to firmware build

This commit is contained in:
3djc 2017-01-29 09:41:08 +01:00
parent 06a024e3e9
commit 8e73d25f1c

View file

@ -194,7 +194,7 @@ if not os.path.isfile(path):
proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
output, error = proc.communicate()
if proc.returncode == 0:
file(outpath, "a").write(output + error)
file(outpath, "a").write("\n".join(cmd) + output + error)
else:
file(errpath, "w").write(output + error)
exit(COMPILATION_ERROR)