View Full Version : Xcode-how to launch another application in code

Aug 9, 2007, 11:15 PM
In Xcode, what could do I use for running another application fron my application using NSTask, via a button or label?

Aug 10, 2007, 03:08 AM
Use NSWorkspace's launchApplication method.

Or you could use your own answer which is NSTask. In fact what exactly are you asking? You seem to know an answer already.