Closed dfa1 closed 4 years ago
Problem
https://medium.com/@marko.luksa/bash-trick-repeat-last-command-until-success-750a61c43c8a
Solution
A command wrapper like: hosh> waitSuccess { command }
hosh> waitSuccess { command }
Benefit Avoid to repeatedly hit the up-arrow and re-execute the command until it succeeds.
similar to #211 since it requires ability to run commands (promoting Interpreter and InterpreterAware as spi classes)
Problem
https://medium.com/@marko.luksa/bash-trick-repeat-last-command-until-success-750a61c43c8a
Solution
A command wrapper like:
hosh> waitSuccess { command }
Benefit Avoid to repeatedly hit the up-arrow and re-execute the command until it succeeds.