procpilot 0.5.0

Production-grade subprocess runner with typed errors, retry, and timeout
Documentation
1
2
3
4
5
6
7
8
9
10
11
//! Test helper: print the value of a named environment variable, or empty if unset.
//!
//! Usage: `pp_print_env <VAR>`
//!
//! Not part of procpilot's public API. Used by internal tests.

fn main() {
    let var = std::env::args().nth(1).unwrap_or_default();
    let value = std::env::var(&var).unwrap_or_default();
    println!("{value}");
}