From 3189486c609ffc95f5b8c7dcd194a72f66a4309c Mon Sep 17 00:00:00 2001 From: Charan Kamarapu Date: Thu, 11 Jan 2024 14:08:49 +0530 Subject: [PATCH] Update KeployCLI.java --- v2/src/main/java/io.keploy.cli/KeployCLI.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();