Re: NSTask for external tool - keep active/prevent relaunch?
Re: NSTask for external tool - keep active/prevent relaunch?
- Subject: Re: NSTask for external tool - keep active/prevent relaunch?
- From: Jerry Krinock <email@hidden>
- Date: Fri, 07 Mar 2014 19:03:28 -0800
On 2014 Mar 07, at 18:04, Trygve Inda <email@hidden> wrote:
> My app sometimes needs to call an external tool that runs via NSTask and
> delivers text output back to my app. I profiled it and most of the time
> (30%) is spent in [NSConcreteTask launchWithDictionary]
>
> Is there any technique I can use to keep this running and thus not have to
> relaunch it the next time I need to use it... Just somehow give it a new set
> of arguments to crunch?
There is, but, first of all, why does this external tool terminate? What is it?
_______________________________________________
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