7 lines
210 B
Plaintext
7 lines
210 B
Plaintext
|
cd /tmp/$2
|
||
|
mv code.code interim.ts
|
||
|
timeout -s KILL 10 tsc interim.ts
|
||
|
rm interim.ts
|
||
|
mv interim.js code.code
|
||
|
runuser -l runner$1 -c "cd /tmp/$2 ; cat args.args | xargs -d '\n' timeout -s KILL 3 nodejs code.code"
|