Re: Determining the size of a directory Part 2
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