On 9/13/05 7:56 AM, Theodore H. Smith didst favor us with:
> I think I figured out what I'm missing.
>
> I was trying to do some Carbon/Cocoa intercommunication between apps.
> NSWorkspace's launch method will return *Before* the app is launched.
> I was assuming that NSworkspace waits until the app is in the tasks
> list, but I think it only appears in the tasks list later.
>
> So I finally figured it out.
Assumptions are evil. I'm not familiar with Cocoa or NSWorkspace, but I
wouldn't expect anything to hang there and wait while an application was
being launched. That process can take as long as 30 seconds for some of the
launch hogs -- more if the disk is being accessed a lot by other
applications at the time -- and I wouldn't expect my application to be
frozen for 30 seconds or more waiting for another application to launch.
Larry
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden
This email sent to email@hidden