11 ms·
Note this will still require timeout for eventually_succeeds depending on the application. In Bash, or literally whenever you are dealing with POSIX/IO/Process
by miduil 1y ago
Note this will still require timeout for eventually_succeeds depending on the application.
In Bash, or literally whenever you are dealing with POSIX/IO/Processes, you need to work with defensive coding practices.
Whatever you do has consequences
- xx__yy 1y agoI like this solution better, no bash running a string command. Could easily prefix eventually_succeeds with timeout.