Waitz
A rust utility to wait that a program exits with 0.
You need to wait for something to start up and don't know when it finishes? You want to chain some other commands after it? You want to run a bunch of commands and drink a coffee? Than this is a tool for you.
I initially wrote it to start docker and run some processes after it, but you can do way more with it, like waiting for a specific URL to become available after booting up a server in the background or anything else.
waitz docker ps && npm run
You might also like...
A bare metal STM32F103C8T6/STM32F103 MCU program written in pure Rust
A bare metal (register level) STM32F103C8T6/STM32F103 MCU program written in pure Rust without any IDE, SDK, HAL or library, and no assembly code, the only tool required is the Rust compiler.
Rust program to monitor Windows 10 Registry keys for changes or modifications.
RegMon This Rust program monitors changes to multiple registry keys in Windows 10 and writes the changes to a text file. It also periodically sends a
Token management program (vesting and mining) implemented in Anchor
Deep Dive into Anchor by Implementing Token Management Program Author: @ironaddicteddog, @emersonliuuu [Updated at 2022.5.21] You can find the full co
Migrate C code to Rust
C2Rust helps you migrate C99-compliant code to Rust. The translator (or transpiler) produces unsafe Rust code that closely mirrors the input C code. T
Mix async code with CPU-heavy thread pools using Tokio + Rayon
tokio-rayon Mix async code with CPU-heavy thread pools using Tokio + Rayon Resources Documentation crates.io TL;DR Sometimes, you're doing async stuff
Minimal, flexible framework for implementing solutions to Advent of Code in Rust
This is advent_of_code_traits, a minimal, flexible framework for implementing solutions to Advent of Code in Rust.
Sample code for compute shader 101 training
Sample code for Compute Shader 101 This repo contains sample code to help you get started writing applications using compute shaders.
Detect if code is running inside a virtual machine (x86 and x86-64 only).
inside-vm Detect if code is running inside a virtual machine. Only works on x86 and x86-64. How does it work Measure average cpu cycles when calling c
Doku is a framework for building documentation with code-as-data methodology in mind.
Doku is a framework for building documentation with code-as-data methodology in mind. Say goodbye to stale, hand-written documentation - with D
Comments
-
Add option to print the output of the command to stdout/stderr
Currently, it is not possible to see the output of the command you've executed, you only know if it was successful.
It can sometimes be useful to see the output of the executed command i.e. I sometimes execute
enhancementwaitz docker ps && docker ps
to wait until the docker engine is started on mac and then immediately see what containers where started automatically. -
feat: unify code paths for the `retry` and `no_retry` paths
This change will still execute
is_successful
exactly once on theno_retry
path without executing the body of thewhile
loop and keep the same semantic for theretry
path.
Releases(0.3.0)
-
0.3.0(Apr 15, 2022)
Changelog
0.3.0
Implemented enhancements:
What's Changed
- feat: max-retry by @mstruebing in https://github.com/mstruebing/waitz/pull/25
Full Changelog: https://github.com/mstruebing/waitz/compare/0.2.2...0.3.0
Source code(tar.gz)
Source code(zip)
waitz-alpine-x86_64.tar.gz(1.20 MB)
waitz-darwin-x86_64.tar.gz(413.74 KB)
waitz-linux-x86_64.tar.gz(1.12 MB)
waitz-win-x64.zip(297.92 KB)
-
0.2.2(Apr 10, 2022)
Changelog
0.2.2
Implemented enhancements:
- Add option to print the output of the command to stdout/stderr #21
Merged pull requests:
- feat: pass
stdout
andstderr
to the terminal #24 - refactor: convert to duration only one time instead of every loop run #20
- feat: unify code paths for the
retry
andno\_retry
paths #19
Source code(zip)
waitz-alpine-x86_64.tar.gz(1.18 MB)
waitz-darwin-x86_64.tar.gz(413.40 KB)
waitz-linux-x86_64.tar.gz(1.10 MB)
waitz-win-x64.zip(297.68 KB)
-
0.2.1(Jun 23, 2021)
-
0.2.0(Jun 23, 2021)
Changelog
0.2.0
Implemented enhancements:
- add automatic release #5
Merged pull requests:
- feat: automatic release #16
Source code(zip)
waitz-alpine-x86_64.tar.gz(1.20 MB)
waitz-darwin-x86_64.tar.gz(413.17 KB)
waitz-linux-x86_64.tar.gz(1.05 MB)
waitz-win-x64.zip(288.57 KB)
-
0.1.0(Jun 23, 2021)
-