Re: [NSTask] -launch return
Re: [NSTask] -launch return
- Subject: Re: [NSTask] -launch return
- From: Michael Ash <email@hidden>
- Date: Tue, 9 Jun 2009 20:47:48 -0400
On Tue, Jun 9, 2009 at 6:55 PM, Erg Consultant<email@hidden> wrote:
> I forgot to mention that the problem case is exceptional: the problem I have is only in the case of an Intel version of the app trying to launch a PPC-only child the first time after reboot: -launch returns immediately, and isRunning returns YES, but there is like a 3 second delay between the time Rosetta begins to run and my binary is actually launched - it appears that isRunning returns YES as soon as Rosetta is started - not when my PPC child is actually started.
>
> In the Intel-launching-Intel or PPC-launching-PPC case, there is never any problem whatsoever. Maybe I need to add some code to complete *after* Rosetta has *finished* launching.
Can you elaborate on what the difference is, or what you think it is,
between Rosetta starting and your child starting, how that affects
your application, and why you need to know it?
When you do [task launch], the subprocess is running. It make take
some time to start and get to whatever state you're interested in, but
it *is* running. What is your purpose in trying to wait for the child
to "actually start", and how is that different from it starting in the
normal way?
Mike
_______________________________________________
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