• 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: Determining the size of a directory Part 2
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Determining the size of a directory Part 2


  • Subject: Re: Determining the size of a directory Part 2
  • From: Andréas Saudemont <email@hidden>
  • Date: Mon, 25 Oct 2004 15:04:52 +0200

Actually the documentation for NSTask's setStandardOutput: states that
"If you're using a pipe for the standard output, use an NSPipe
instance as the argument to this method. Don't create a handle for the
pipe and pass that as the argument. If you do, the write end of the
pipe won't be closed automatically."

http://developer.apple.com/documentation/Cocoa/Reference/Foundation/ObjC_classic/Classes/NSTask.html#//apple_ref/doc/uid/20000317/BJFBCHCB

So you can pass 'fromPipe' as is to setStandardOutput:.

Andréas

--
http://andreassaudemont.net/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Determining the size of a directory Part 2 (From: Dominik Freyer <email@hidden>)
 >Re: Determining the size of a directory Part 2 (From: Andréas Saudemont <email@hidden>)

  • Prev by Date: Re: Has anyone successfully linked the lastest source code for Celestia
  • Next by Date: Re: key codes
  • Previous by thread: Re: Determining the size of a directory Part 2
  • Next by thread: Re: Determining the size of a directory Part 2
  • Index(es):
    • Date
    • Thread