On Apr 15, 2010, at 10:32 AM, Gaurav Srivastava wrote:

> When user performs certain action, the parent application launches
> another application B. It does so by doing fork().

Whoa — don’t do this. GUI apps should be launched by calling LaunchServices (or 
NSWorkspace, which is a wrapper around it.)

One of the effects of failure to do this is that the frontmost app doesn’t 
relinquish its frontmost status, so the new app can’t claim it and become 
frontmost. There are other issues too.

—Jens_______________________________________________

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