Starting a .app file from java

200 Views Asked by At

I need run a system call to run a .app file from java. Any ideas?

1

There are 1 best solutions below

2
On BEST ANSWER
String cmd = "./file.app";
Runtime run = Runtime.getRuntime();
Process pr = run.exec(cmd);
pr.waitFor();

Something like that?