>> I'm writing a Foundation tool and I need to run a NSTask in a
>> separate thread.
> An NSTask is a different thing from a thread. Since NSTask provides
> asynchronous notification of its death (and NSFileHandle provides
> asynchronous methods for dealing with I/O), there should be no need
On Oct 25, 2008, at 1:00 PM, Tom Jones wrote:
I'm writing a Foundation tool and I need to run a NSTask in a
separate thread.
An NSTask is a different thing from a thread. Since NSTask provides
asynchronous notification of its death (and NSFileHandle provides
asynchronous methods for deal
Hello,
I'm writing a Foundation tool and I need to run a NSTask in a separate
thread. I have it working but when the task completes the thread is
still running. I tried issuing a [NSThread exit] but that did nothing.
What am I missing?
Thanks,
tom
This my main code
#import
#import "Thre