> If  
> you fork and execv a process, then when the parent terminates, the
> created process is automatically made a child of launchd.

Normally when a parent process terminates, all its children are
automatically terminated. The original question was how to launch a process
from an app such that the process is not a child of the app, but rather a
child of a higher-up process, whether a child of launchd or something
further down the chain like WindowServer was not really part of the
discussion. A corollary of course would be how to launch a child such that
what you describe happens--termination of parent results in child becoming
child of an ancestor further up the chain.

-- 
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/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to