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 16, 2007, 12:20 AM
Is there one? Please help me again :)
Feb 16, 2007, 01: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.