• 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: CoreFoundation Command Line Tool - an easy beginner question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CoreFoundation Command Line Tool - an easy beginner question


  • Subject: Re: CoreFoundation Command Line Tool - an easy beginner question
  • From: David Duncan <email@hidden>
  • Date: Mon, 4 Aug 2008 14:19:16 -0700

On Aug 4, 2008, at 2:00 PM, Michael Ash wrote:

I think you may have missed the read() at the beginning of the
function, which is critical to the operation of the tool. (The purpose
is to wait for the parent process to quit, then restart it.) If,
however, I have instead missed a way to make the "open" tool wait for
its parent to die before opening the argument, I would very much
appreciate enlightenment on that subject.


Ah, I think you might want to make the parent process a launchd agent instead then. I'm not completely familiar with the intricacies of this (nor the problem to be solved in general) but it is capable of relaunching a process when necessary, and it will also auto-throttle the relaunch if the process is being troublesome (i.e. dying over and over and over in a short time).
--
David Duncan
Apple DTS Animation and Printing
email@hidden




_______________________________________________

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


  • Follow-Ups:
    • Re: CoreFoundation Command Line Tool - an easy beginner question
      • From: "Michael Ash" <email@hidden>
References: 
 >CoreFoundation Command Line Tool - an easy beginner question (From: Steve Cronin <email@hidden>)
 >Re: CoreFoundation Command Line Tool - an easy beginner question (From: David Duncan <email@hidden>)
 >Re: CoreFoundation Command Line Tool - an easy beginner question (From: "Michael Ash" <email@hidden>)

  • Prev by Date: Re: Help no longer needed! (was: help linking sqlite3 wrapper)
  • Next by Date: Re: How to get music list?
  • Previous by thread: Re: CoreFoundation Command Line Tool - an easy beginner question
  • Next by thread: Re: CoreFoundation Command Line Tool - an easy beginner question
  • Index(es):
    • Date
    • Thread