forked from protonphoton/LJ
12 lines
167 B
Bash
12 lines
167 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
killexit(){
|
||
|
pkill -9 -s $$
|
||
|
}
|
||
|
|
||
|
trap killexit SIGTERM SIGINT SIGKILL SIGSTOP
|
||
|
|
||
|
bash -c "$@"
|
||
|
|
||
|
killbill(){ pkill -9 -s $(awk '{print $6}' /proc/$1/stat) }
|