Start/Kill appium server within java code

On Mac, it should be similar, but you have to change

CommandLine command = new CommandLine(“cmd”);

to be:

CommandLine command = new CommandLine(“/bin/sh”);

1 Like