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