Skip to content

Commit be70f20

Browse files
committed
Fixes microsoft#26840: Hard crash (of everything) when terminating running task
1 parent a58c7a6 commit be70f20

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/vs/base/node/terminateProcess.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

33
terminateTree() {
4-
for cpid in $(pgrep -P $1); do
4+
for cpid in $(/usr/bin/pgrep -P $1); do
55
terminateTree $cpid
66
done
77
kill -9 $1 > /dev/null 2>&1

0 commit comments

Comments
 (0)