Keeping a NSTask's standard input 'alive' after quitting the app which created it ?
Keeping a NSTask's standard input 'alive' after quitting the app which created it ?
- Subject: Keeping a NSTask's standard input 'alive' after quitting the app which created it ?
- From: Thomas Deniau <email@hidden>
- Date: Mon, 10 Dec 2001 22:09:31 +0100
Hi!
I've a 'parent' app which launches a daemon using NSTask.
I set the daemon's standard input using
NSPipe *pipe=[NSPipe pipe];
[task setStandardInput:pipe];
Is there a way to keep pipe 'alive' after quitting the app which created it
(the 'parent'), and launched the task ?