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...
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
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
A tool to run web applications on AWS Lambda without changing code.
AWS Lambda Adapter A tool to run web applications on AWS Lambda without changing code. How does it work? AWS Lambda Adapter supports AWS Lambda functi
Dynamically invoke arbitrary unmanaged code.
DInvoke_rs Rust port of Dinvoke. DInvoke_rs may be used for many purposes such as PE parsing, dynamic exported functions resolution, dynamically loadi
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 executeenhancement
waitz docker ps && docker psto wait until the docker engine is started on mac and then immediately see what containers where started automatically.
This change will still execute
is_successfulexactly once on the
no_retrypath without executing the body of the
whileloop and keep the same semantic for the
0.3.0(Apr 15, 2022)
- 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.0Source code(tar.gz)
0.2.2(Apr 10, 2022)
- Add option to print the output of the command to stdout/stderr #21
Merged pull requests:
- feat: pass
stderrto the terminal #24
- refactor: convert to duration only one time instead of every loop run #20
- feat: unify code paths for the
0.2.1(Jun 23, 2021)
Merged pull requests:Source code(tar.gz)
0.2.0(Jun 23, 2021)