• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: running out of NSPipes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: running out of NSPipes (From: Scott Ribe <email@hidden>)
 >Re: running out of NSPipes (From: justin webster <email@hidden>)
 >Re: running out of NSPipes (From: justin webster <email@hidden>)

  • Prev by Date: Re: Delete NSDefaults while running
  • Next by Date: Re: Implementing a Slightly Unusual NSTableView
  • Previous by thread: Re: running out of NSPipes
  • Next by thread: Re: running out of NSPipes
  • Index(es):
    • Date
    • Thread