Quote: Originally Posted by
Jirka Jirout 
I am using an NSTask to run this, getting it's standard output. Unfortunately, there is nothing written to standard output.
If you are running the NSTask with the -l 0, it is buffering the output until the task completes (which it never will with the 0 argument).
EDIT: Actually it looks like i'm wrong on that. You should be seeing output to the standardOutput handle from a NSTask object. If you post the snippet in question (launching, looping, etc..), i'll be happy to take a look and see if anything jumps out.
I can't work up an example now (I can tell you the Perl code off the top of my head, but I don't do it that often in C

), but I will try to remember tonight when I get home.
-dave