Re: NSTask and process group IDs

2008-03-11 Thread Hamish Allan
On Tue, Mar 11, 2008 at 11:53 PM, Nir Soffer <[EMAIL PROTECTED]> wrote: > My solution was to open a pipe to the child process, and have the child > process read from the pipe in the background. When the parent process die, > the pipe will be closed and the child can quit. Good idea. I might attem

Re: NSTask and process group IDs

2008-03-11 Thread Nir Soffer
On Mar 12, 2008, at 01:24, Hamish Allan wrote: I'm writing an app that uses an NSTask to spawn a long-lived process. When my app is force-quit or otherwise SIGKILLed, the spawned process gets re-parented and hangs around indefinitely. I was hoping to use process groups to tackle this, but altho