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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to