>>>>> "bl" == Bj�rn Lindberg <[EMAIL PROTECTED]> writes:

  bl> I have some difficulties with RUN-PROGRAM. It sometimes hangs when
  bl> using the :output :stream key parameter. I thought I had it traced
  bl> down to when a program only has output on stderr and not on stdout,
  bl> but that is not quite right either:

  it is not sensible to use :output :stream together with :wait t,
  because it can lead to deadlocks such as the one you are seeing.
  When using :output :stream, CMUCL uses a pipe to read the output of
  the subprocess. The subprocess is being suspended by the kernel
  because is has filled its output pipe; it will remain suspended
  until CMUCL reads from that pipe. There is nothing in CMUCL that
  reads from the pipe, because noone reads from the attached stream. 
  
-- 
Eric Marsden                          <URL:http://www.laas.fr/~emarsden/>

Reply via email to