I need run a system call to run a .app file from java. Any ideas?
+1
A:
String cmd = "./file.app";
Runtime run = Runtime.getRuntime();
Process pr = run.exec(cmd);
pr.waitFor();
Something like that?
Alexandru Luchian
2009-11-10 20:22:18
Application bundles on the Mac are just specially laid out folders. The path to the binary would actually be something like:/Applications/App.app/Contents/MacOS/App
Nate
2009-11-10 21:49:56
I'd set cmd to "open ./file.app"
epatel
2009-11-10 22:45:29