Commit 14be265d authored by Felix Seibert's avatar Felix Seibert
Browse files

adding timeout of 10 secs

parent c5b4c0eb
......@@ -94,8 +94,11 @@ def run_commands(commands, max_processes=200, print_errors=True):
# for finished_process in running_processes:
for finished_process in running_processes_map:
# try:
stdout, stderr = finished_process.communicate(timeout=10)
finished_process = (finished_process.args,
(stdout, stderr),
if finished_process[2] != 0:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment