Put `stdout` in an `NSTextView` while running the a command
- by Koning Baard XIV
I'm creating a Cocoa Application, which will need to run the rails command. This command generates an output, and streams it to stdout. I want to show this output to the user in an NSTextView (so basicly stream the stdout to the NSTextView). I don't really care about how I should run the command, as long as I can set the working directory.
Can anyone help me? Thanks