Question

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

Was it helpful?

Solution

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

Something like that?

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top