[Xmonad] darcs patch: make spawn redirect std* to /dev/null

David Roundy droundy at darcs.net
Sun Sep 23 15:16:19 EDT 2007


On Sun, Sep 23, 2007 at 03:19:37PM +0200, l.mai at web.de wrote:
> Sun Sep 23 15:13:40 CEST 2007  l.mai at web.de
>   * make spawn redirect std* to /dev/null
>   
>   spawn'd programs inherit their std{in,out,err} from xmonad. This can
>   interfere with logHook logging because some programs dump debugging
>   output to stdout or stderr. This patch therefore redirects all
>   standard streams to /dev/null when a new program is started.

I'd prefer that this patch didn't go in.  I'd rather be able to debug what
goes wrong when a spawned process doesn't work right.  At least stderr
should be preserved.
-- 
David Roundy
Department of Physics
Oregon State University


More information about the Xmonad mailing list