repeatcmd

Crates.iorepeatcmd
lib.rsrepeatcmd
version0.1.0
created_at2025-07-10 15:00:10.108082+00
updated_at2025-07-10 15:00:10.108082+00
descriptionrun a command repeatedly until it succeeds (or fails)
homepage
repositoryhttps://app.radicle.xyz/nodes/radicle.liw.fi/rad:z34Lk5Z18mw8gyfMwJvNPjA1ZwJgd
max_upload_size
id1746606
size30,742
(larswirzenius)

documentation

README

repeatcmd - run command repeatedly until it succeeds

Example

Wait until an SSH server is available:

repeatcmd ssh solace
ERROR: command "ssh" failed with exit code 255
ERROR: command "ssh" failed with exit code 255
ERROR: command "ssh" failed with exit code 255
ERROR: command "ssh" failed with exit code 255
ERROR: command "ssh" failed with exit code 255
ERROR: command "ssh" failed with exit code 255
ERROR: command "ssh" failed with exit code 255
ERROR: command "ssh" failed with exit code 255
ERROR: command "ssh" failed with exit code 255

Legalese

Copyright 2025 Lars Wirzenius

Licensed under MIT0, in LICENSE.md.

Commit count: 0

cargo fmt