
15 Apr
2010
15 Apr
'10
1:06 p.m.
Matthias Kilian
On Sat, Apr 10, 2010 at 08:43:39PM +0200, Matthias Kilian wrote:
after updating xmonad on my OpenBSD machine from 0.7 to 0.9.1 (built with ghc-6.12.2-rc1), I noticed that xmonad now leaves zombie processes around, [...]
The below part from Core.hs is completely wrong, you can't just ignore SIGCHLD and hope for some deity cleaning up the mess. And, BTW the default action of SIGCHLD is SIG_IGN, so both calls of `installHandler sigCHLD ...' are equivalent (and thus bogus).
Wouldn't it be overall more useful to run a hook on subprocess exit? I would find it useful if I was informed of any abnormal exit values for the programs I run. -- \ Troels /\ Henriksen