Apple Systems and Services
> Simple Way to Do Unix/Terminal Commands in Cocoa?
View Full Version :
Simple Way to Do Unix/Terminal Commands in Cocoa?
Feb 15, 2007, 11:20 PM
Is there one? Please help me again :)
Feb 16, 2007, 12:10 AM
You probably want to use NSTasks, with NSPipes and NSFileWrappers to do bi-directional communication, if required. Have a look at the docs for those and I think there's some example code.