aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src/utils/terminateProcess.sh
diff options
context:
space:
mode:
authorEmil Lauridsen <[email protected]>2019-12-25 15:44:42 +0000
committerEmil Lauridsen <[email protected]>2019-12-25 16:37:40 +0000
commit41a1ec723ce2ea3fa78ae468830f0a77e5658307 (patch)
tree7a5d9d2ba86e37734ef5dc4c87fb40148c764c53 /editors/code/src/utils/terminateProcess.sh
parent66e8ef53a0ed018d03340577a0443030a193f773 (diff)
Remove cargo-watch from vscode extension.
Still keeps tests around for reference when porting them to rust
Diffstat (limited to 'editors/code/src/utils/terminateProcess.sh')
-rw-r--r--editors/code/src/utils/terminateProcess.sh12
1 files changed, 0 insertions, 12 deletions
diff --git a/editors/code/src/utils/terminateProcess.sh b/editors/code/src/utils/terminateProcess.sh
deleted file mode 100644
index 2ec9e1c2e..000000000
--- a/editors/code/src/utils/terminateProcess.sh
+++ /dev/null
@@ -1,12 +0,0 @@
1#!/bin/bash
2
3terminateTree() {
4 for cpid in $(pgrep -P $1); do
5 terminateTree $cpid
6 done
7 kill -9 $1 > /dev/null 2>&1
8}
9
10for pid in $*; do
11 terminateTree $pid
12done \ No newline at end of file