Commit 561d50a8 authored by Felix Seibert's avatar Felix Seibert
Browse files

adding 'progress bar' to see if something happens

parent 66893b15
......@@ -43,6 +43,8 @@ def run_commands(commands, max_processes=200):
if (len(running_processes) >= max_processes):
os.wait()
running_processes.difference_update([p for p in running_processes if p.poll() is not None])
print("running procs: " + str(len(running_processes)) + " all procs: " + str(len(all_processes)) +
" commands: " + str(len(commands)))
for p in running_processes:
p.wait()
......
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