[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] gnuplot subprocess: python->chicken
From: |
John Cowan |
Subject: |
Re: [Chicken-users] gnuplot subprocess: python->chicken |
Date: |
Tue, 30 Apr 2013 14:52:21 -0400 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
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, address@hidden
I don't. --Thiagi