piston/lxc/executors/bash

7 lines
130 B
Bash
Executable File

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