Re: How to create process independent of current process AND that takes command line arguments?
Re: How to create process independent of current process AND that takes command line arguments?
- Subject: Re: How to create process independent of current process AND that takes command line arguments?
- From: "Chris Markle" <email@hidden>
- Date: Thu, 3 Apr 2008 23:20:49 -0700
Chris S.,
> Why do you not want it to be a child? The reason I ask is that if your
> requirement is that the spawned process isn't terminated when the parent
> dies, then NSTask will suffice. Whilst processes it spawns are children,
> they're in a different process group and session and so don't die when the
> parent dies.
I had assumed that the process would term (or hang) when the parent
died... Bad assumption I guess you're saying ;) If the NSTask spawned
process will stay up when the parent goes away, then that then I'll
take a closer look at that. Thanks!
Chris M.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden