printing the standard output in a NSTextview
printing the standard output in a NSTextview
- Subject: printing the standard output in a NSTextview
- From: Martin Marier <email@hidden>
- Date: Sun, 4 Jan 2004 22:22:52 -0500
I'm trying to display the stdout of a shell command (whatever command,
I'm testing with ls) in a NSTextview. I can do the system call with
NSTask and pipe it into a NSData. How can I get the data held in
NSData to be displayed in my NSTextView ? Should I do a type cast ?
Or should I use a different type of NSView ?
Thank you
Martin Marier.
PS I know this is a very beginner question. If you know a better
place for a beginner to ask questions, please let me know.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.