From dd131dfc2686e378a7d90f5cc269340ab5adada9 Mon Sep 17 00:00:00 2001 From: Peter Amstutz Date: Mon, 13 Oct 2014 13:18:15 -0400 Subject: [PATCH] sleep so it doesn't go haywire --- crunch_scripts/run-command | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/crunch_scripts/run-command b/crunch_scripts/run-command index 2af422fbd5..609572eac3 100755 --- a/crunch_scripts/run-command +++ b/crunch_scripts/run-command @@ -316,7 +316,9 @@ try: if e.errno == errno.ECHILD: # child already exited print "got ECHILD" - pass + time.sleep(1) + for s in subprocesses: + print s.poll() else: raise active = sum([1 if s.poll() is None else 0 for s in subprocesses]) -- 2.39.5