> On Sep 4, 2014, at 8:55 PM, Scott Ribe <[email protected]> wrote: > > It is as though the runningApplications method returns a cached list which is > only updated when events are processed, thus I won't see the newly-launched > app until the next pass through the runloop, thus cannot launch an app and > immediately see it.
I think what's actually going on is that the app doesn't show up as running until it's gotten far enough into its launch process to check in with the WindowServer. You're dealing with a multi-threaded system, so it makes total sense that an app hasn't shown up a microsecond after you told the system to launch it. —Jens _______________________________________________ Cocoa-dev mailing list ([email protected]) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
