Move runuser to execute

This commit is contained in:
Vrganj 2021-01-17 15:44:40 +00:00
parent 14565b16e4
commit 9851352f87
30 changed files with 76 additions and 132 deletions

View file

@ -1,6 +1,4 @@
#!/bin/bash
runuser runner$1 -c "
cd /tmp/$2
timeout -s KILL 3 xargs -a args.args -d '\n' python3.8 code.code < stdin.stdin
"
cd /tmp/$2
timeout -s KILL 3 xargs -a args.args -d '\n' python3.8 code.code < stdin.stdin