Re: monitor child process...
Re: monitor child process...
- Subject: Re: monitor child process...
- From: Kaelin Colclasure <email@hidden>
- Date: Tue, 17 Jun 2003 06:38:10 -0700
Try 'man wait' and 'man sigaction' (look for the bits about SIGCHLD).
I also highly recommend 'Advanced Programming in the Unix Environment'
by Stevens.
-- Kaelin
On Monday, June 16, 2003, at 09:23 PM, Lloyd Dupont wrote:
I create a child process via fork() & execl()
I have its pid_t id.
I want to monitor its health in the parent process. basically know if
it's still alive or not and, eventually, restart it.
how to do that ?
I just ignore the function name .. and man exec didn't help ...
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.