Skip navigation.
 
mlRe: Determining the size of a directory Part 2
FROM : Andréas Saudemont
DATE : Mon Oct 25 15:04:52 2004

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/

Related mailsAuthorDate
mlDetermining the size of a directory Part 2 Dominik Freyer Oct 25, 14:42
mlRe: Determining the size of a directory Part 2 stephane sudre Oct 25, 14:50
mlRe: Determining the size of a directory Part 2 Andréas Saudemont Oct 25, 14:56
mlRe: Determining the size of a directory Part 2 Andréas Saudemont Oct 25, 15:04
mlRe: Determining the size of a directory Part 2 M. Uli Kusterer Oct 25, 15:10
mlRe: Determining the size of a directory Part 2 Finlay Dobbie Oct 25, 15:30
mlRe: Determining the size of a directory Part 2 Dominik Freyer Oct 25, 15:48
mlRe: Determining the size of a directory Part 2 Andréas Saudemont Oct 25, 16:29
mlRe: Determining the size of a directory Part 2 Dominik Freyer Oct 25, 16:42
mlRe: Determining the size of a directory Part 2 stephane sudre Oct 25, 17:17
mlRe: Determining the size of a directory Part 2 Finlay Dobbie Oct 25, 18:57
mlRe: Determining the size of a directory Part 2 Dominik Freyer Oct 25, 20:52
mlRe: Determining the size of a directory Part 2 Darkshadow Oct 26, 02:46
mlRe: Determining the size of a directory Part 2 Finlay Dobbie Oct 26, 12:38