Skip navigation.
 
mlRe: running out of NSPipes
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

Related mailsAuthorDate
mlrunning out of NSPipes justin webster Apr 18, 11:23
mlRe: running out of NSPipes Scott Ribe Apr 18, 14:21
mlRe: running out of NSPipes Ken Thomases Apr 18, 21:15
mlRe: running out of NSPipes justin webster Apr 19, 04:21
mlRe: running out of NSPipes Jens Alfke Apr 19, 06:39
mlRe: running out of NSPipes justin webster Apr 19, 06:58
mlRe: running out of NSPipes Bob Smith Apr 19, 09:45
mlRe: running out of NSPipes Jens Alfke Apr 19, 17:20