Use 'kill -s 9' to finish process

This commit is contained in:
Michael Bogdanov
2016-04-22 16:45:18 +03:00
parent a9ce6f71f6
commit a9a917a99e
@@ -204,6 +204,8 @@ public class Emulator {
for (String pid : processIds) {
GeneralCommandLine killCommand = new GeneralCommandLine();
killCommand.setExePath("kill");
killCommand.addParameter("-s");
killCommand.addParameter("9");
killCommand.addParameter(pid);
RunUtils.execute(killCommand);
}