mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-20 20:16:26 +02:00
Move runuser to execute
This commit is contained in:
parent
14565b16e4
commit
9851352f87
30 changed files with 76 additions and 132 deletions
|
@ -1,6 +1,4 @@
|
|||
#!/bin/bash
|
||||
|
||||
runuser runner$1 -c "
|
||||
cd /tmp/$2
|
||||
xargs -a args.args -d '\n' timeout -s KILL 3 bash code.code < stdin.stdin
|
||||
"
|
||||
cd /tmp/$2
|
||||
xargs -a args.args -d '\n' timeout -s KILL 3 bash code.code < stdin.stdin
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue