From f16b936946d77afb4b6a31650e65a0e8b0f1397d Mon Sep 17 00:00:00 2001 From: Brian Seymour Date: Fri, 21 Sep 2018 22:05:29 -0500 Subject: [PATCH] sigkill instead of sighup --- docker/executors/c | 2 +- docker/executors/cpp | 2 +- docker/executors/go | 2 +- docker/executors/node | 2 +- docker/executors/python2 | 2 +- docker/executors/python3 | 2 +- docker/executors/ruby | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docker/executors/c b/docker/executors/c index 7ae5108..befbf57 100755 --- a/docker/executors/c +++ b/docker/executors/c @@ -1,4 +1,4 @@ #!/bin/sh gcc -o binary -x c $1 -timeout -s HUP 2 ./binary +timeout -s KILL 2 ./binary diff --git a/docker/executors/cpp b/docker/executors/cpp index 2dfd5f3..9ec0065 100755 --- a/docker/executors/cpp +++ b/docker/executors/cpp @@ -1,4 +1,4 @@ #!/bin/sh g++ -o binary -x c $1 -timeout -s HUP 2 ./binary +timeout -s KILL 2 ./binary diff --git a/docker/executors/go b/docker/executors/go index 7842675..861ed39 100755 --- a/docker/executors/go +++ b/docker/executors/go @@ -6,4 +6,4 @@ go build $file file=${file%%.*} -timeout -s HUP 2 ./$file +timeout -s KILL 2 ./$file diff --git a/docker/executors/node b/docker/executors/node index 4998e25..762ab75 100755 --- a/docker/executors/node +++ b/docker/executors/node @@ -1,3 +1,3 @@ #!/bin/sh -timeout -s HUP 2 nodejs $* +timeout -s KILL 2 nodejs $* diff --git a/docker/executors/python2 b/docker/executors/python2 index 4b321a2..a44fa8b 100755 --- a/docker/executors/python2 +++ b/docker/executors/python2 @@ -1,3 +1,3 @@ #!/bin/sh -timeout -s HUP 2 python2 $* +timeout -s KILL 2 python2 $* diff --git a/docker/executors/python3 b/docker/executors/python3 index 25258ba..a7fd360 100755 --- a/docker/executors/python3 +++ b/docker/executors/python3 @@ -1,3 +1,3 @@ #!/bin/sh -timeout -s HUP 2 python3.6 $* +timeout -s KILL 2 python3.6 $* diff --git a/docker/executors/ruby b/docker/executors/ruby index 598b5b0..ef74d2d 100755 --- a/docker/executors/ruby +++ b/docker/executors/ruby @@ -1,3 +1,3 @@ #!/bin/sh -timeout -s HUP 2 ruby $* +timeout -s KILL 2 ruby $*