openbox@bonsai:~$ cat run.sh #!/bin/sh run() { read command;} if run command; then exec $command & sleep 2 && exit 1; fi