sigkill instead of sighup
This commit is contained in:
parent
00252622d3
commit
f16b936946
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
|
||||
gcc -o binary -x c $1
|
||||
timeout -s HUP 2 ./binary
|
||||
timeout -s KILL 2 ./binary
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
|
||||
g++ -o binary -x c $1
|
||||
timeout -s HUP 2 ./binary
|
||||
timeout -s KILL 2 ./binary
|
||||
|
|
|
@ -6,4 +6,4 @@ go build $file
|
|||
|
||||
file=${file%%.*}
|
||||
|
||||
timeout -s HUP 2 ./$file
|
||||
timeout -s KILL 2 ./$file
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
timeout -s HUP 2 nodejs $*
|
||||
timeout -s KILL 2 nodejs $*
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
timeout -s HUP 2 python2 $*
|
||||
timeout -s KILL 2 python2 $*
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
timeout -s HUP 2 python3.6 $*
|
||||
timeout -s KILL 2 python3.6 $*
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
timeout -s HUP 2 ruby $*
|
||||
timeout -s KILL 2 ruby $*
|
||||
|
|
Loading…
Reference in New Issue