Peter Bex scripsit:

> So you can fix this rather easily by calling (close-output-port o)
> before reading from stderr.

Or just flush it.  In general, when you are both writing to and reading from
a subprocess, you need to make sure output is flushed on both sides, or
you will deadlock because the output is sitting in the sender's stdio buffer.

-- 
In my last lifetime,                            John Cowan
I believed in reincarnation;                    http://www.ccil.org/~cowan
in this lifetime,                               [email protected]
I don't.  --Thiagi

_______________________________________________
Chicken-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to