[xmonad] darcs patch: spawnDescendantOn

Gwern Branwen gwern0 at gmail.com
Mon Mar 22 16:52:20 EDT 2010


On Thu, Sep 3, 2009 at 2:40 AM, Don Stewart <dons at galois.com> wrote:
> 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

Is this the final verdict? Then I've marked it 'rejected' on
darcswatch: http://darcswatch.nomeata.de/repo_http:__code.haskell.org_XMonadContrib.html

-- 
gwern


More information about the xmonad mailing list