diff --git a/hererocks.py b/hererocks.py index 74279e2..d20f25a 100755 --- a/hererocks.py +++ b/hererocks.py @@ -114,6 +114,8 @@ def run(*args, **kwargs): sys.exit("Error: got exitcode {} from command {}".format( exception.returncode, " ".join(args))) + except OSError: + sys.exit("Error: couldn't run {}: is {} in PATH?".format(" ".join(args), args[0])) if opts.verbose and capture: sys.stdout.write(output.decode("UTF-8"))