• 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: [NSPipe pipe] returning nil (running out of filehandles?)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [NSPipe pipe] returning nil (running out of filehandles?)


  • Subject: Re: [NSPipe pipe] returning nil (running out of filehandles?)
  • From: Jim Correia <email@hidden>
  • Date: Tue, 1 Apr 2008 19:33:07 -0400

On Apr 1, 2008, at 7:19 PM, Martin Redington wrote:

I'm running /sbin/md5 via an NSTask on a number of files (3,000 or so, with a new NSTask each time).

I know the "unix way" is to string together small purpose built tools via pipes.


But it strikes me that NSTask is the wrong hammer for this nail. Computing an md5 programatically yourself is probably the better solution, regardless of the leaky file descriptor problem you are having.

Jim

_______________________________________________

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


  • Follow-Ups:
    • Re: [NSPipe pipe] returning nil (running out of filehandles?)
      • From: Martin Redington <email@hidden>
References: 
 >[NSPipe pipe] returning nil (running out of filehandles?) (From: Martin Redington <email@hidden>)

  • Prev by Date: Re: Finding out about new windows.
  • Next by Date: Re: [NSPipe pipe] returning nil (running out of filehandles?)
  • Previous by thread: [NSPipe pipe] returning nil (running out of filehandles?)
  • Next by thread: Re: [NSPipe pipe] returning nil (running out of filehandles?)
  • Index(es):
    • Date
    • Thread