[project @ Bypass pipe lock mystery bug for configure step]
authorBrandon King <kingb@caltech.edu>
Tue, 11 Dec 2007 21:43:19 +0000 (21:43 +0000)
committerBrandon King <kingb@caltech.edu>
Tue, 11 Dec 2007 21:43:19 +0000 (21:43 +0000)
commite608dfee14f637c71b2bf756643c37a2a5d376c3
treeb2ccfd762cfd93936645bb558f33d053a0eaeec8
parentf78c8d28515d7f5af63f9493877d77b94d6863fe
[project @ Bypass pipe lock mystery bug for configure step]
 * There was a weird bug where certain failures of the pipeline could
   leave the configure_run.py configure code waiting for output from the
   configuration pipe, but where the program has already finished... leaving
   the configure step stuck in a perminate state of waiting.
 * This patch bypasses this problem by passing subprocess.Popen file
   descriptors instead of subproccess.PIPE and then processing the
   output after the program has terminated. I have never seen the
   mystery bug when using this approach. This is how the run pipeline
   step already handles running the pipeline and is also where I first
   encountered this problem.
gaworkflow/pipeline/configure_run.py