On Sun, 24 Feb 2013 10:53:48 -0500, Lars T. Kyllingstad
<[email protected]> wrote:
On Sunday, 24 February 2013 at 15:37:10 UTC, Steven Schveighoffer wrote:
Either of these is possible similar to how core.thread keeps track of
all threads, we could simply ignore any child exits that we didn't
manage. And I think it's worth implementing at some point (this is not
an easy problem to solve correctly), but not for this release.
I agree, this will be difficult or impossible on POSIX. Calling wait()
and then ignoring the processes we don't care about won't do, because
then we've ruined the chance for other code to call wait() on those
processes.
I think if we have this feature, there needs to be a big fat warning not
to start child processes except through this library. We could provide a
hook to call when an unknown child exits...
-Steve