solexa2srf likes to produce output, so my trick of watching the
[htsworkflow.git] / gaworkflow / util / queuecommands.py
index da10193d6b26564c78201e4339118ff27129d67e..78728ae552f43a6172e6b6280c6f72d2442b32e1 100644 (file)
@@ -7,6 +7,7 @@ from subprocess import PIPE
 import subprocess
 import select
 import sys
+import time
 
 class QueueCommands(object):
     """
@@ -83,4 +84,4 @@ class QueueCommands(object):
                     queue_log.info("Process %d finished [%d]",
                                    pending.pid, pending.returncode)
                     del self.running[pending_fd]
-
+            time.sleep(1)