[xmonad] darcs patch: spawnDescendantOn
Spencer Janssen
spencerjanssen at gmail.com
Wed Sep 2 22:22:39 EDT 2009
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?
Cheers,
Spencer Janssen
More information about the xmonad
mailing list