Skip to content
Snippets Groups Projects
Commit f9dc2b03 authored by Marco Malavolti's avatar Marco Malavolti
Browse files

Fixed generation of failed-cmd.sh

parent c3dd715a
No related branches found
No related tags found
No related merge requests found
...@@ -30,7 +30,7 @@ async def run(name,queue,stdout_file,stderr_file,cmd_file): ...@@ -30,7 +30,7 @@ async def run(name,queue,stdout_file,stderr_file,cmd_file):
stdout_file.write('-----\n[cmd-out]\n%s\n\n[stdout]\n%s' % (cmd,stdout.decode())) stdout_file.write('-----\n[cmd-out]\n%s\n\n[stdout]\n%s' % (cmd,stdout.decode()))
if stderr: if stderr:
stderr_file.write('-----\n[cmd-err]\n%s\n\n[stderr]\n%s' % (cmd,stderr.decode())) stderr_file.write('-----\n[cmd-err]\n%s\n\n[stderr]\n%s' % (cmd,stderr.decode()))
cmd_file.write(cmd + '\n') cmd_file.write('%s\n' % cmd)
# Notify the queue that the "work cmd" has been processed. # Notify the queue that the "work cmd" has been processed.
queue.task_done() queue.task_done()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment