Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 15 lines (13 sloc) 224 Bytes
#!/usr/bin/env bash
# try:
# mon ./example/program.sh
# mon -d ./example/program.sh
# mon -d ./example/program.sh --on-error ./example/on_error.sh
echo one
sleep 2
echo two
sleep 2
echo three
sleep 2
echo exiting
exit 1