Re: NSTextView and NSTasks setStandardOutput
Re: NSTextView and NSTasks setStandardOutput
- Subject: Re: NSTextView and NSTasks setStandardOutput
- From: Esteban <email@hidden>
- Date: Wed, 15 May 2002 08:23:42 -0700
If you look at NSTask's docs you'll see that setStandardOutput takes
either a NSPipe or NSFileHandler
Go on
http://cocoa.mamasam.com and do a search for NSTask NSTextView.
You'll find several e-mail covering what you are looking for.
Also good idea to get Cocoa Browser, i find it very handy.
-Esteban
On Wednesday, May 15, 2002, at 01:40 AM, Christopher Martin wrote:
I'm trying to write a simple gui wrapper for nmap.
can anybody tell me how to have the output appear in an NSTextView?
i tried this:
[nmap setStandardOutput:scanView];
where scanView is an outlet from interface builder:
IBOutlet id scanView;
When i run the app, i get:
2002-05-15 04:34:57.479 nmapX[805] *** -[NSTextView fileDescriptor]:
selector not recognized
How can i use teh NStextView to display the output?
Thanks,
Chris Martin
_______________________________________________
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.
_______________________________________________
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.