Re: NSTask dilema...
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