Re: Launch app with params as front process and wait?
Re: Launch app with params as front process and wait?
- Subject: Re: Launch app with params as front process and wait?
- From: Jens Alfke <email@hidden>
- Date: Sat, 17 Apr 2010 12:33:59 -0700
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 (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