Connecting standard output to an NSTextView
Connecting standard output to an NSTextView
- Subject: Connecting standard output to an NSTextView
- From: Zac Belado <email@hidden>
- Date: Fri, 01 Feb 2002 20:21:02 -0800
What is the most expedient way to send the contents of a standard output to
an NSTextView?
I've initiated an NSTask and I want to display the results (as they occur)
to the user in a textview. I know the NSTask has a setStandardOutput method
but this does, correct me if I am wrong, require the results to first be
written out to an external file.
This just seems wasteful if I don't want to save the data externally.
TIA
--
Flies dance operas to your wisdom.
generated by the The Surrealist Compliment Generator
http://www.madsci.org/cgi-bin/cgiwrap/~lynn/jardin/SCG