
spencerjanssen:
On Tue, Sep 01, 2009 at 12:59:30AM -0400, wagnerdm@seas.upenn.edu wrote:
Tue Sep 1 00:42:18 EDT 2009 Daniel Wagner
* 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
* 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