FROM : Jens Alfke
DATE : Sat Apr 19 17:20:51 2008
I think what's missing is a call to [handle closeFile]. From the
NSFileHandle docs:
> Sending closeFile to a file handle does not cause its deallocation.
> Deallocation of a file handle deletes its descriptor and closes the
> represented file or channel only if the handle was created
> usinginitWithFileDescriptor:closeOnDealloc: with YES as the flag
> argument.
>
NSTask is IMHO kind of a bitch to use. I have a wrapper class I've
been using for a few months, that I think I've finally gotten the
kinks out of, but it's not in shape to give out yet (it won't build
standalone.)
—Jens
DATE : Sat Apr 19 17:20:51 2008
I think what's missing is a call to [handle closeFile]. From the
NSFileHandle docs:
> Sending closeFile to a file handle does not cause its deallocation.
> Deallocation of a file handle deletes its descriptor and closes the
> represented file or channel only if the handle was created
> usinginitWithFileDescriptor:closeOnDealloc: with YES as the flag
> argument.
>
NSTask is IMHO kind of a bitch to use. I have a wrapper class I've
been using for a few months, that I think I've finally gotten the
kinks out of, but it's not in shape to give out yet (it won't build
standalone.)
—Jens
| Related mails | Author | Date |
|---|---|---|
| justin webster | Apr 18, 11:23 | |
| Scott Ribe | Apr 18, 14:21 | |
| Ken Thomases | Apr 18, 21:15 | |
| justin webster | Apr 19, 04:21 | |
| Jens Alfke | Apr 19, 06:39 | |
| justin webster | Apr 19, 06:58 | |
| Bob Smith | Apr 19, 09:45 | |
| Jens Alfke | Apr 19, 17:20 |






Cocoa mail archive

