• 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: [NSTask] -launch return
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [NSTask] -launch return


  • Subject: Re: [NSTask] -launch return
  • From: Quincey Morris <email@hidden>
  • Date: Tue, 9 Jun 2009 21:22:51 -0700

On Jun 9, 2009, at 20:16, Erg Consultant wrote:

I find it absolutely appalling on a modern OS that I should have to write a 3rd PPC process and launch it just to get the API to behave as documented.

You haven't yet answered the key question that several people have asked you: If 'launch' returns, and 'isRunning' is YES, and 'processIdentifier' is the correct value for the new process, in what sense isn't the new process running? Because the new process doesn't look like it's running? Because it hasn't reached a certain point in its execution yet?


If that's so, the problem you're going to have, Rosetta or no Rosetta, is that the NSTask API never gave you a guarantee that the new process would reach any given point in its execution on any timeline available to the initiating process.

In effect, a new process takes an unpredictably variable amount of time to finish its startup. But you knew that already. All you've discovered is that the variability is possibly of the order of seconds. And you don't want it to be, it sounds like.


_______________________________________________

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


References: 
 >Re: [NSTask] -launch return (From: Greg Guerin <email@hidden>)
 >Re: [NSTask] -launch return (From: Erg Consultant <email@hidden>)

  • Prev by Date: Re: [NSTask] -launch return
  • Next by Date: Re: [NSTask] -launch return
  • Previous by thread: Re: [NSTask] -launch return
  • Next by thread: Re: [NSTask] -launch return
  • Index(es):
    • Date
    • Thread