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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to