From 148c58d85848988c73b20815c8efcda422ae46e6 Mon Sep 17 00:00:00 2001 From: Dane Powell Date: Wed, 29 Jan 2020 17:25:45 -0800 Subject: [PATCH] Revert "MS-4593| Prevents test command to kill wrong processes (#3971)" (#3995) This reverts commit 1bbd2494772a5178a82cf1d17eafc39cf58a1bc9. --- src/Robo/Common/Executor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Robo/Common/Executor.php b/src/Robo/Common/Executor.php index 5283664bb..253e442d7 100644 --- a/src/Robo/Common/Executor.php +++ b/src/Robo/Common/Executor.php @@ -127,7 +127,7 @@ public function killProcessByPort($port) { // phpcs:ignore exec("command -v lsof && lsof -ti tcp:$port | xargs kill l 2>&1"); // phpcs:ignore - exec("pkill -f :$port 2>&1"); + exec("pkill -f $port 2>&1"); } /**