• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: monitor child process...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >monitor child process... (From: Lloyd Dupont <email@hidden>)

  • Prev by Date: handling resources in Cocoa
  • Next by Date: Re: NSTableView question!
  • Previous by thread: Re: monitor child process...
  • Next by thread: Re: monitor child process...
  • Index(es):
    • Date
    • Thread