diff --git a/docker/executors/c b/docker/executors/c index 9a9a57f..adce728 100755 --- a/docker/executors/c +++ b/docker/executors/c @@ -1,2 +1,2 @@ timeout -s KILL 10 gcc -o binary -x c $1 -timeout -s KILL 3 ./binary ${@:2} +timeout -s KILL 3 ./binary ${@:3} diff --git a/docker/executors/cpp b/docker/executors/cpp index 8202a77..8a14ae9 100755 --- a/docker/executors/cpp +++ b/docker/executors/cpp @@ -1,2 +1,2 @@ timeout -s KILL 10 g++ -o binary -x c++ $1 -timeout -s KILL 3 ./binary ${@:2} +timeout -s KILL 3 ./binary ${@:3} diff --git a/docker/executors/csharp b/docker/executors/csharp index 097d599..9af1e1b 100755 --- a/docker/executors/csharp +++ b/docker/executors/csharp @@ -1,3 +1,3 @@ cp /*.code . timeout -s KILL 10 mcs $(echo $1 | sed 's/\///') -out:binary -timeout -s KILL 3 mono binary ${@:2} +timeout -s KILL 3 mono binary ${@:3} diff --git a/docker/executors/go b/docker/executors/go index 091135c..82e39d7 100755 --- a/docker/executors/go +++ b/docker/executors/go @@ -4,4 +4,4 @@ timeout -s KILL 10 go build $file file=${file%%.*} -timeout -s KILL 3 ./$file ${@:2} +timeout -s KILL 3 ./$file ${@:3} diff --git a/docker/executors/nasm b/docker/executors/nasm index 3fa4ac9..ef9c25d 100755 --- a/docker/executors/nasm +++ b/docker/executors/nasm @@ -1,3 +1,3 @@ timeout -s KILL 10 nasm -f elf64 -o binary.o $1 timeout -s KILL 10 ld binary.o -o binary -timeout -s KILL 3 ./binary ${@:2} +timeout -s KILL 3 ./binary ${@:3} diff --git a/docker/executors/node b/docker/executors/node index 4ffca5d..3da3fa7 100755 --- a/docker/executors/node +++ b/docker/executors/node @@ -1 +1 @@ -timeout -s KILL 3 nodejs $1 ${@:2} +timeout -s KILL 3 nodejs $1 ${@:3} diff --git a/docker/executors/php b/docker/executors/php index f561779..b31e331 100755 --- a/docker/executors/php +++ b/docker/executors/php @@ -1 +1 @@ -timeout -s KILL 3 php $1 ${@:2} +timeout -s KILL 3 php $1 ${@:3} diff --git a/docker/executors/python2 b/docker/executors/python2 index 23aef14..411d4ad 100755 --- a/docker/executors/python2 +++ b/docker/executors/python2 @@ -1 +1 @@ -timeout -s KILL 3 python2 $1 ${@:2} +timeout -s KILL 3 python2 $1 ${@:3} diff --git a/docker/executors/python3 b/docker/executors/python3 index daa5f7a..7482d65 100755 --- a/docker/executors/python3 +++ b/docker/executors/python3 @@ -1 +1 @@ -timeout -s KILL 3 python3.6 $1 ${@:2} +timeout -s KILL 3 python3.6 $1 ${@:3} diff --git a/docker/executors/r b/docker/executors/r index 15e5f99..e4a5754 100755 --- a/docker/executors/r +++ b/docker/executors/r @@ -1 +1 @@ -timeout -s KILL 3 Rscript $1 ${@:2} +timeout -s KILL 3 Rscript $1 ${@:3} diff --git a/docker/executors/ruby b/docker/executors/ruby index 58379e0..7797814 100755 --- a/docker/executors/ruby +++ b/docker/executors/ruby @@ -1 +1 @@ -timeout -s KILL 3 ruby $1 ${@:2} +timeout -s KILL 3 ruby $1 ${@:3}