This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: popen behavior - interactive processes


. 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]