Reputation: 311
I need to build a cross platform that need to call an external .jar application. I could do it in Windows, but I have no idea how to do it in Mac OS.
Upvotes: 0
Views: 1016
Reputation: 57
If you were to use this instead:
system("/Applications/Safari.app/Contents/MacOS/Safari");
You would get a new instance of Safari. Much like opening multiple instances of IE in Windows. But this isn't Mac behavior so use "open" instead.
Upvotes: 1
Reputation: 57
If you want to open Safari, use this:
system("open /Applications/Safari.app");
Upvotes: 0