Re: monitor child process...
Re: monitor child process...
- Subject: Re: monitor child process...
- From: Lloyd Dupont <email@hidden>
- Date: Tue, 17 Jun 2003 16:51:28 +1000
thanks, that's an excellent idea.
However it's not a convenient one as my monitoring process need to keep
responding to other request. I know I could thread, but I have found
even more simpler, by the way:
kill(aPid, 0); checked regularly tell me about the state of the process
:-)
On Tuesday, June 17, 2003, at 04:43 PM, Finlay Dobbie wrote:
>
>
On Tuesday, June 17, 2003, at 05:23 am, Lloyd Dupont wrote:
>
>
> 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 ...
>
>
man 2 wait
>
>
-- Finlay
_______________________________________________
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.