This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
Re: popen behavior - interactive processes
- To: guile at sourceware dot cygnus dot com
- Subject: Re: popen behavior - interactive processes
- From: Allister MacLeod <glamdring at mv3d dot com>
- Date: Thu, 23 Mar 2000 15:34:00 -0500
. On Wed, Mar 22, 2000 at 09:58:44AM +0100, Nicolas Neuss wrote:
> Allister MacLeod <listopad@mv3d.com> writes:
> > I just keep ending up with zombies to feed to waitpid. Maybe I'm
>
> Without checking your code exactly: after closing the connection to
> the child process you should use (waitpid child-pid) to obtain the
> exit code of the child.
Ok. I'm not sure, but I think the few times that I did use waitpid
like a good little hacker, I got result codes of 0. I'll have to
check more to see if I'm remembering correctly.
> I remember that someone (Jim Blandy?) posted a complete process
> communication on this list some time ago.
Ah.. cool. I will sift through the archive then.