piston/lxc/executors/d
Brian Seymour e5a91bb71c fix d
2021-01-23 15:08:59 -06:00

6 lines
126 B
Bash

#!/bin/bash
cd /tmp/$2
cp code.code code.d
timeout -s KILL 10 dmd code.d
timeout -s KILL 3 xargs -a args.args -d '\n' ./code