
1 Nov
2007
1 Nov
'07
6:04 p.m.
dbenbenn:
Wed Oct 24 18:10:16 PDT 2007 David Benbennick
* zombie_children Second version. This patch sets SIGCHLD to SIG_IGN, so that any child processes that end will be immediately cleaned up. It also waits on all existing zombie child processes, in case they already exist.
I'm not too happy about waitAllChildren; it doesn't seem very Haskelley. I was surprised that the following didn't work:
try $ forever_ $ getAnyProcessStatus False False >>= return . fromJust
I hope to evalute this patch on the weekend. Thanks for being patient. -- Don