wait-for-them 0.5.1

Waits for TCP ports to be opened or for 200 status on http(s) urls
Documentation
1
2
3
4
5
6
use std::io;
use tokio::process::Command;

pub async fn exec(program: &str, args: Vec<String>) -> Result<std::process::ExitStatus, io::Error> {
    Command::new(program).args(args).status().await
}