A script to run a command until it fails.