FROM : Erik Mendoza
DATE : Thu Dec 16 22:23:41 2004
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.
DATE : Thu Dec 16 22:23:41 2004
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.
| Related mails | Author | Date |
|---|---|---|
| Erik Mendoza | Dec 16, 22:23 | |
| Andreas Mayer | Dec 17, 10:09 |






Cocoa mail archive

