Re: NSTask terminates when NSApplication exits
Re: NSTask terminates when NSApplication exits
- Subject: Re: NSTask terminates when NSApplication exits
- From: Jens Alfke <email@hidden>
- Date: Thu, 19 Jan 2012 10:49:12 -0800
On Jan 19, 2012, at 10:10 AM, Scott Ribe wrote:
> Not true. It looks like the case at a cursory level because session management does this when you're in the terminal. There are various ways to arrange for a process to exit when its parent exits. But it is *not* the case that a process is automatically killed when its parent exits.
Huh; you learn something new every day!
In addition to shell behavior you mention, I also see this when Xcode crashes and takes down the app I’m debugging. But I suppose Xcode configures the process it launches to work that way?
—Jens_______________________________________________
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