|
From: | Matt Welland |
Subject: | Re: [Chicken-users] Help with usage of process ... |
Date: | Sat, 10 Oct 2015 21:03:22 -0700 |
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))))
Cheers,
Evan
_______________________________________________
Chicken-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/chicken-users
[Prev in Thread] | Current Thread | [Next in Thread] |