sigkill instead of sighup

This commit is contained in:
Brian Seymour 2018-09-21 22:05:29 -05:00
parent 00252622d3
commit f16b936946
7 changed files with 7 additions and 7 deletions

View File

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/sh
gcc -o binary -x c $1 gcc -o binary -x c $1
timeout -s HUP 2 ./binary timeout -s KILL 2 ./binary

View File

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/sh
g++ -o binary -x c $1 g++ -o binary -x c $1
timeout -s HUP 2 ./binary timeout -s KILL 2 ./binary

View File

@ -6,4 +6,4 @@ go build $file
file=${file%%.*} file=${file%%.*}
timeout -s HUP 2 ./$file timeout -s KILL 2 ./$file

View File

@ -1,3 +1,3 @@
#!/bin/sh #!/bin/sh
timeout -s HUP 2 nodejs $* timeout -s KILL 2 nodejs $*

View File

@ -1,3 +1,3 @@
#!/bin/sh #!/bin/sh
timeout -s HUP 2 python2 $* timeout -s KILL 2 python2 $*

View File

@ -1,3 +1,3 @@
#!/bin/sh #!/bin/sh
timeout -s HUP 2 python3.6 $* timeout -s KILL 2 python3.6 $*

View File

@ -1,3 +1,3 @@
#!/bin/sh #!/bin/sh
timeout -s HUP 2 ruby $* timeout -s KILL 2 ruby $*