On Apr 17, 2010, at 10:43 AM, Gaurav Srivastava wrote:

> NSTask* task = [NSTask launchedTaskWithLaunchPath:@"path" arguments:args];

OK, but that’s the code you already know doesn’t work, thanks to the previous 
reply, right? Use LaunchServices or NSWorkspace.

> Even on switching to NSWorkSpace doesn't seem to solve the purpose. The
> launched application does not get highlighted.

You’d need to show us the code you’re using for that, for us to be able to help.

—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