Re: running out of NSPipes
Re: running out of NSPipes
- Subject: Re: running out of NSPipes
- From: Jens Alfke <email@hidden>
- Date: Sat, 19 Apr 2008 08:20:51 -0700
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
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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