Re: NSTask and NSPipe
Re: NSTask and NSPipe
- Subject: Re: NSTask and NSPipe
- From: David Remahl <email@hidden>
- Date: Wed, 27 Jun 2001 12:55:23 +0200
Damn, why is the turnaround on this list so long? I posted a message
virtually identical to this one several hours ago (although I now
remember I missed the waitUntilExit part.
Is the turnaround apple's fault? I think it is worse than that on other
lists even...
/ david
Here's an example of piping "ls -al" to a text field:
[theTask waitUntilExit];
Can anyone provide me a simple example of how to pipe standardoutput
from a NSTask to a textfield on a window? I can't for the life of me
get it to work. Perhaps a simple example of calling ls -al and
displaying in a tableview or textfield?