Cocoa/ Objective-C Shell Command Line Execution

Viewed 21689

This is probably a stupid question, but how can I execute a shell command from my Cocoa app?

I have the command as a string "command", but can easily manipulate data as needed.

There is no need to get a returned output value.

3 Answers
Related