Documentation ¶
Overview ¶
Command retry re-runs a command a number of times until it succeeds.
Usage: retry <count> <command> [args...]
retry will run <command> with [args...]. If it exits with a non-zero code, it will be re-run up to <count> times. <count> may not be negative.
The exit code of retry is the exit code of the last execution of <command> or 1 if retry exits with its own error.
<command> is executed directly with [args...] as provided. If <command> does not contain any path separators, the search path is used to locate it. No shell is used to run <command>.
Click to show internal directories.
Click to hide internal directories.