On Wed, Dec 7, 2011 at 20:35, Jason Dagit <dag...@gmail.com> wrote:

> > They *do* terminate; a zombie is a dead process waiting for its parent to
> > reap it with waitForProcess.  There's also some POSIX stuff you can do to
> > have them auto-reaped, but doing that correctly and portably is somewhat
> > painful.
>
> You can use a double fork to make this portable and not painful.  It's
> just that you have to fork twice, which can be expensive in some
> cases.
>

And problematic if you're using a pipe to communicate with the child, which
seemed quite possible.

-- 
brandon s allbery                                      allber...@gmail.com
wandering unix systems administrator (available)     (412) 475-9364 vm/sms
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to