solexa2srf likes to produce output, so my trick of watching the
authorDiane Trout <diane@caltech.edu>
Tue, 30 Sep 2008 23:43:23 +0000 (23:43 +0000)
committerDiane Trout <diane@caltech.edu>
Tue, 30 Sep 2008 23:43:23 +0000 (23:43 +0000)
commit4e829eb172a66a20861c3cf4187dceb83887fb99
treeea9b0486d5ef2dcb3b69c510fddbd263a3ce80a4
parent528da44befdd27d7af1935dc1a76abc7619b690a
solexa2srf likes to produce output, so my trick of watching the
sockets to block until when the process ends didn't work.

This patch inserts a simple sleep(1) (second) into the code that
waits for the jobs to finish to prevent the queue manager from rapidly
spinning.

It should probably be fixed with a better way of monitoring for when
a process finishes

MERGED from trunk (the hard way)
htswcommon/htswcommon/util/queuecommands.py