Until the 1.6.0 version was released I used successfully this code to stop the server:
public static void stopServer() {
String[] command = { “/usr/bin/killall”, “-KILL”, “node” };
try {
Runtime.getRuntime().exec(command);
System.out.println(command.toString());
System.out.println(“Appium server stopped.”);
} catch (IOException e) {
e.printStackTrace();
}
}
Now, when using the 1.6.0, it doesn’t do the trick…
Any idea why? What has changed?
Thanks for the reply…