Description
Execute any command up to three times if it returns a non-zero error code. This is useful when you need to execute a command that can be flaky as a result of network hiccups, for example.
Usage
Shell | Function |
---|---|
Bash |
|
PowerShell |
|
shell command
is the command to be retried