-5

How can I run another app from my OSX app? For example, I want to run skype from my button in app.

I appreciate your help.

1 Answers1

1

You can use NSTask.
But you will need to provide path for skype

See Swift example:

let task = NSTask()
task.launchPath = "/bin/skype"
task.arguments = ["first-argument", "second-argument"]
task.launch()
Daniel Krom
  • 9,751
  • 3
  • 43
  • 44