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 da
NSTask
Using the NSTask class, your program can run another program as a subprocess and can monitor that program’s execution.