in reply to open(KID, "-|") and wait()?
Improv++ - for reading the open() docs more carefully than me (sheesh, it's even got its own paragraph there, and silly old me didn't see it!?)
robartes++ - for zombie humor, even though I think Improv's answer is better in this case - your answer is great for the general fork() case, though!
My next question: how do I prevent the close() from blocking until the child exits?
--
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: open(KID, "-|") and wait()?
by robartes (Priest) on Apr 10, 2003 at 14:00 UTC | |
|
Re: Re: open(KID, "-|") and wait()?
by virtualsue (Vicar) on Apr 10, 2003 at 15:40 UTC |