All processes on MacOSX, and any Unix/Linux operating system are
child processes except for launchd (MacOSX) or init (Unix/Linux). If
you fork and execv a process, then when the parent terminates, the
created process is automatically made a child of launchd.
Jonathan
On Apr 4, 2008, at 12:35 PM, Scott Ribe wrote:
Even if NSTask doesn't have options for this, you can always call
fork
and execv, which is what NSTask uses under the hood.
But that gives you a child process, and there's no way that I found
around
it without ugly hacks involving exec'ing a launchctl script...
--
Scott Ribe
[EMAIL PROTECTED]
http://www.killerbytes.com/
(303) 722-0567 voice
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
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:
http://lists.apple.com/mailman/options/cocoa-dev/jprescott12%
40comcast.net
This email sent to [EMAIL PROTECTED]
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]