[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] Help with usage of process ...

From: Evan Hanson
Subject: Re: [Chicken-users] Help with usage of process ...
Date: Sat, 10 Oct 2015 15:25:48 +1300

Hi Matt,

My guess is that because you don't close the output port before waiting
for results, dot(1) sits there waiting for more input and your procedure
appears to hang.

I'd try closing `oup` once you've written your graph to the process, for
example by making the thunk you use for the "dot writer" thread look like:

    (lambda ()
      (with-output-to-port oup
       (lambda ()
         (map print indat)
         (close-output-port oup))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]