• 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: Wrapping an Interactive Unix Executable (update)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Wrapping an Interactive Unix Executable (update)


  • Subject: Re: Wrapping an Interactive Unix Executable (update)
  • From: Erik Mendoza <email@hidden>
  • Date: Thu, 16 Dec 2004 13:23:41 -0800

Thanks for all of the replies, but I'm still having some problems.

I've looked over the NSTask documentation, and I think I can use the standard input and output stuff, but I haven't yet figured out how. At this point I'm able to launch the NSTask and get the initial output, which is good. But as soon as I try to send it new input (by writing to the NSFileHandle associated with the standardInput) it crashes. I think I can get it to work if I use the notification center, but I'd have to do everything in my controller class, but I'd rather keep things separated as they are now in a controller class and translator class. Thanks again for the help.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Wrapping an Interactive Unix Executable (update)
      • From: Andreas Mayer <email@hidden>
  • Prev by Date: Re: String -> Bezier
  • Next by Date: Re: Quitting one application from within another
  • Previous by thread: Re: String -> Bezier
  • Next by thread: Re: Wrapping an Interactive Unix Executable (update)
  • Index(es):
    • Date
    • Thread