• 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: An NSTask can only be run once ??
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: An NSTask can only be run once ??


  • Subject: Re: An NSTask can only be run once ??
  • From: Nathan Day <email@hidden>
  • Date: Sun, 5 May 2002 21:12:37 +0930

I think you mis-read the documentation, it says
An NSTask can only be run once. Subsequent attempts to run an NSTask raises an error.

ie you create an instance run it once and then get rid of it when it's finished. No reason you can't have more then one instance running at the same time

On Sunday, May 5, 2002, at 08:15 PM, kubernan wrote:

Comparing performances between the Unix find command launched via NSTask in a cocoa app
and the enumeratorAtPath from NSFileManager it seems the NSTask is faster.
I'd like to use this one in a multiple window app, but i read in the documentation
that only one NSTask can run at once.
Is there a way to use multiple NSTask ? (in a multithread way may be ?).
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >An NSTask can only be run once ?? (From: kubernan <email@hidden>)

  • Prev by Date: Re: nsthread_kill()
  • Next by Date: Re: Philosophical Question
  • Previous by thread: An NSTask can only be run once ??
  • Next by thread: Formatting numbers, currency, and dates based on locale
  • Index(es):
    • Date
    • Thread