piston/lxc/executors/crystal

6 lines
114 B
Bash

#!/bin/bash
cd /tmp/$2
crystal build code.code
timeout -s KILL 3 xargs -a args.args -d '\n' ./code < stdin.stdin