• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSTask for external tool - keep active/prevent relaunch?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: NSTask for external tool - keep active/prevent relaunch?
      • From: Trygve Inda <email@hidden>
References: 
 >NSTask for external tool - keep active/prevent relaunch? (From: Trygve Inda <email@hidden>)

  • Prev by Date: Re: Two kinds of NSManagedObject fault?
  • Next by Date: [ANN] WFBezierCombinatorics
  • Previous by thread: NSTask for external tool - keep active/prevent relaunch?
  • Next by thread: Re: NSTask for external tool - keep active/prevent relaunch?
  • Index(es):
    • Date
    • Thread