NSTask for external tool - keep active/prevent relaunch?
NSTask for external tool - keep active/prevent relaunch?
- Subject: NSTask for external tool - keep active/prevent relaunch?
- From: Trygve Inda <email@hidden>
- Date: Sat, 08 Mar 2014 02:04:22 +0000
- Thread-topic: NSTask for external tool - keep active/prevent relaunch?
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?
I don't think there is, but I am hoping I am wrong.
Thanks,
Trygve
_______________________________________________
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