diff --git a/v2/src/main/java/io.keploy.cli/KeployCLI.java b/v2/src/main/java/io.keploy.cli/KeployCLI.java index aef7301a..2cc0550f 100644 --- a/v2/src/main/java/io.keploy.cli/KeployCLI.java +++ b/v2/src/main/java/io.keploy.cli/KeployCLI.java @@ -388,7 +388,7 @@ public static void killProcessesAndTheirChildren(int parentPID) { for (int childPID : pids) { if (childPID != getCurrentPid()) { try { - new ProcessBuilder("sudo", "kill", "-15", String.valueOf(childPID)).start(); + new ProcessBuilder("kill", "-15", String.valueOf(childPID)).start(); logger.debug("Killed child process " + childPID); } catch (Exception e) { e.printStackTrace();