Use 'kill -s 9' to finish process
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user