6c3e92e48a
subrepo: subdir: "dotfiles/.vim/plugged/coc.nvim" merged: "7ca7cb915" upstream: origin: "https://github.com/neoclide/coc.nvim.git" branch: "master" commit: "7ca7cb915" git-subrepo: version: "0.4.3" origin: "???" commit: "???"
12 lines
184 B
Bash
Executable file
12 lines
184 B
Bash
Executable file
#!/bin/bash
|
|
terminateTree() {
|
|
for cpid in $(pgrep -P $1); do
|
|
terminateTree $cpid
|
|
done
|
|
kill -9 $1 > /dev/null 2>&1
|
|
}
|
|
|
|
for pid in $*; do
|
|
terminateTree $pid
|
|
done
|
|
|