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

Brandon S. Allbery KF8NH allbery at ece.cmu.edu
Sun Sep 23 15:18:39 EDT 2007

On Sep 23, 2007, at 15:16 , David Roundy wrote:

> 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.

I was thinking it would be nice to be able to specify a logfile for  
random program stdout/stderr.

brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery at kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university    KF8NH

More information about the Xmonad mailing list