[xmonad] Re: xmonad-0.9.1 leaves zombie processes around

Gwern Branwen gwern0 at gmail.com
Sat Apr 10 20:40:07 EDT 2010

2010/4/10 Tomáš Janoušek <tomi at nomi.cz>:
> Hello,
> On Sat, Apr 10, 2010 at 10:05:38PM +0200, Matthias Kilian wrote:
>> 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).
> On a system conforming to POSIX.1-2001, you just can. The easy solution would
> be to call sigaction with the SA_NOCLDWAIT flag, but System.Posix.Signals
> lacks the interface to do this :-(.

So would the right thing be to improve that module and throw a
conditional flag into xmonad to use it?


More information about the xmonad mailing list