[Xmonad] darcs patch: zombie_children

David Benbennick dbenbenn at gmail.com
Tue Oct 23 21:20:09 EDT 2007


Tue Oct 23 18:13:48 PDT 2007  David Benbennick <dbenbenn at gmail.com>
  * zombie_children
  
  My .xinitrc file looks like this:
  
  xterm &
  firefox &
  exec xmonad
  
  The result is that when xmonad starts, it has two child processes that it didn't create.  When I quit either process, the process remains forever as a zombie, because xmonad never waits on children.
  
  My previous window manager (Window Maker) didn't suffer from this issue.
  
  Here's a pretty simple change that makes xmonad wait on children in its main loop.  We can also change spawn to only create one process instead of two, and keep spawned processes as children.
  
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-darcs-patch
Size: 2906 bytes
Desc: A darcs patch for your repository!
Url : http://www.haskell.org/pipermail/xmonad/attachments/20071023/956ab43d/attachment.bin


More information about the Xmonad mailing list