mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-22 04:56:30 +02:00
update args
This commit is contained in:
parent
6cc2496cd6
commit
5f71c63b65
12 changed files with 7 additions and 29 deletions
|
@ -1,4 +1,2 @@
|
|||
#!/bin/sh
|
||||
|
||||
timeout -s KILL 10 gcc -o binary -x c $1
|
||||
timeout -s KILL 3 ./binary ${@:2}
|
||||
|
|
|
@ -1,4 +1,2 @@
|
|||
#!/bin/sh
|
||||
|
||||
timeout -s KILL 10 g++ -o binary -x c++ $1
|
||||
timeout -s KILL 3 ./binary ${@:2}
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
cp /*.code .
|
||||
timeout -s KILL 10 mcs $(echo $1 | sed 's/\///') -out:binary
|
||||
timeout -s KILL 3 mono binary ${@:2}
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
file=$1
|
||||
|
||||
timeout -s KILL 10 go build $file
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
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}
|
||||
|
|
|
@ -1,3 +1 @@
|
|||
#!/bin/sh
|
||||
|
||||
timeout -s KILL 3 nodejs ${@:2}
|
||||
timeout -s KILL 3 nodejs $1 ${@:2}
|
||||
|
|
|
@ -1,3 +1 @@
|
|||
#!/bin/sh
|
||||
|
||||
timeout -s KILL 3 php ${@:2}
|
||||
timeout -s KILL 3 php $1 ${@:2}
|
||||
|
|
|
@ -1,3 +1 @@
|
|||
#!/bin/sh
|
||||
|
||||
timeout -s KILL 3 python2 ${@:2}
|
||||
timeout -s KILL 3 python2 $1 ${@:2}
|
||||
|
|
|
@ -1,3 +1 @@
|
|||
#!/bin/sh
|
||||
|
||||
timeout -s KILL 3 python3.6 ${@:2}
|
||||
timeout -s KILL 3 python3.6 $1 ${@:2}
|
||||
|
|
|
@ -1,3 +1 @@
|
|||
#!/bin/sh
|
||||
|
||||
timeout -s KILL 3 Rscript ${@:2}
|
||||
timeout -s KILL 3 Rscript $1 ${@:2}
|
||||
|
|
|
@ -1,3 +1 @@
|
|||
#!/bin/sh
|
||||
|
||||
timeout -s KILL 3 ruby ${@:2}
|
||||
timeout -s KILL 3 ruby $1 ${@:2}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue