• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSTextView and NSTasks setStandardOutput
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >NSTextView and NSTasks setStandardOutput (From: Christopher Martin <email@hidden>)

  • Prev by Date: In Praise of the new O'Reilly Cocoa book
  • Next by Date: Simple NSTableView Question - Newbie
  • Previous by thread: NSTextView and NSTasks setStandardOutput
  • Next by thread: Sheets 2
  • Index(es):
    • Date
    • Thread