• 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 dilema...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTask dilema...


  • Subject: Re: NSTask dilema...
  • From: Jens Alfke <email@hidden>
  • Date: Wed, 31 Mar 2010 11:36:05 -0700


On Mar 31, 2010, at 11:21 AM, Jean-Nicolas Jolivet wrote:

- I tried launching the tasks on the main thread but it locks up my UI and I can't update my progress bar...

Only if you explicitly call -waitUntilExit. So don't do that. Normally the task API is asynchronous. So launch it, then go about your business until you get an NSTaskDidTerminateNotification.


—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


References: 
 >NSTask dilema... (From: Jean-Nicolas Jolivet <email@hidden>)

  • Prev by Date: Random crashes in release but not in debug
  • Next by Date: Re: Best way to selectively show objects in a tree controller/outlineview
  • Previous by thread: Re: NSTask dilema...
  • Next by thread: Re: NSTask dilema...
  • Index(es):
    • Date
    • Thread