|
From: | Zack Weinberg |
Subject: | Re: [Monotone-devel] auto updates |
Date: | Sun, 29 Oct 2006 01:59:49 -0700 |
On 10/29/06, Nathaniel Smith <address@hidden> wrote:
It should be possible to deal with zombies through some POSIX hackery, no? The only tricky bit is that we _do_ sometimes want to wait for a process, so we can't just unconditionally get rid of zombies...
Fork a child, which forks a grandchild and exits. Grandchild execs what you really wanted to run. wait() returns for the child, and the grandchild gets reparented to init. zw
[Prev in Thread] | Current Thread | [Next in Thread] |