[xmonad] darcs patch: spawnDescendantOn

Don Stewart dons at galois.com
Thu Sep 3 02:40:58 EDT 2009


spencerjanssen:
> On Tue, Sep 01, 2009 at 12:59:30AM -0400, wagnerdm at seas.upenn.edu wrote:
> > Tue Sep  1 00:42:18 EDT 2009  Daniel Wagner <daniel at wagner-home.com>
> >   * add spawnOn-alikes that watch for child processes
> >
> >   spawnOn is insufficient because many programs are simply shell scripts 
> > wrapping
> >   the real application.  This adds some functions that watch for child 
> > processes,
> >   which treats these scripts properly.  Notably, launchers like dmenu  
> > are dealt
> >   with this way.
> 
> > Tue Sep  1 00:42:18 EDT 2009  Daniel Wagner <daniel at wagner-home.com>
> >   * add spawnOn-alikes that watch for child processes
> >   
> >   spawnOn is insufficient because many programs are simply shell scripts wrapping
> >   the real application.  This adds some functions that watch for child processes,
> >   which treats these scripts properly.  Notably, launchers like dmenu are dealt
> >   with this way.
> 
> I'd like some time to review this before anyone else applies it.
> 
> I notice some use of /proc, that will fail under non-Linux, right?
> 
> Also, can we mostly avoid the need for all this by 'exec'ing scripts?

/proc is non-portable


More information about the xmonad mailing list