I guess my real question is, how do I get the response text from the output of the command?
(instead of using Line Input #1 to get the response text)
For Steve’s demo the outputAvailable: method does it. He appends the text returned by the pipe to an NSTextView. Your own code could simply pass the NSData( or convert to NSString first - whatever is needed ) to whichever function/method needed it( of course, usual caveats about memory management apply ). btw: I ran Steve’s demo but didn’t have time to run Bernie’s
For Bernie’s demo you would need to use the callback ( Bernie’s outputAvailable: method passes the data to the callback ).
To unsubscribe, send ANY message to: futurebasic-unsubscribe@...
To access the list archives, go to: http://freegroups.net/groups/futurebasic/