Re: Slightly OT: SIGKILL (force quit) and child process termination
Re: Slightly OT: SIGKILL (force quit) and child process termination
- Subject: Re: Slightly OT: SIGKILL (force quit) and child process termination
- From: email@hidden
- Date: Tue, 28 Nov 2006 23:00:03 +0100
On 28 Nov 2006, at 17:18, Guy Meyer wrote:
If the parent process is sent a SIGKILL the child process is left
orphaned and continues to run, while I am interested in termination.
First of all if someone sends you a SIGKILL it's game over, that is
not a normal way to terminate processes.
But if there is no way around it you could let the child process
monitor the parent through a kqueue mechanism and then act if the
parent process is killed.
Annard
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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