Skip to content

Commit

Permalink
Revert "MS-4593| Prevents test command to kill wrong processes (#3971)…
Browse files Browse the repository at this point in the history
…" (#3995)

This reverts commit 1bbd249.
  • Loading branch information
danepowell committed Jan 30, 2020
1 parent 70363c1 commit 148c58d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Robo/Common/Executor.php
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}

/**
Expand Down

0 comments on commit 148c58d

Please sign in to comment.