mirror of
https://github.com/engineer-man/piston.git
synced 2025-06-08 03:06:26 +02:00
Update for new API
This commit is contained in:
commit
c10a30b69a
78 changed files with 2063 additions and 868 deletions
|
@ -1,4 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
cd /tmp/$2
|
||||
cp code.code code.d
|
||||
timeout -s KILL 10 dmd code.d
|
||||
runuser runner$1 -c "cd /tmp/$2 ; cat args.args | xargs -d '\n' timeout -s KILL 3 ./code"
|
||||
xtimeout -s KILL 3 args -a args.args -d '\n' ./code
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue