Wait until task is finished?
Wait until task is finished?
- Subject: Wait until task is finished?
- From: Chad Armstrong <email@hidden>
- Date: Mon, 23 Jun 2003 13:22:12 -0500
Is it possible to start an NSTask, but then have the original program
wait until the task is finished before continuing on to run along the
original path?
Start my task. [myTask launch];
Wait until task is done. ???
Do something else. NSLog(@"Foo");
I tried something like [myTask waitUntilExit], but this just locked up
the rest of the program even though the task ran. Do I need to add
some loop?
Chad Armstrong
email@hidden
_______________________________________________
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.