procpilot 0.7.0

Production-grade subprocess runner with typed errors, retry, and timeout
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Test helper: print the values of multiple named environment variables,
//! space-separated, on one line. Missing variables print as empty strings.
//!
//! Usage: `pp_print_env_multi <VAR1> [VAR2 ...]`
//!
//! Not part of procpilot's public API. Used by internal tests.

fn main() {
    let values: Vec<String> = std::env::args()
        .skip(1)
        .map(|var| std::env::var(&var).unwrap_or_default())
        .collect();
    println!("{}", values.join(" "));
}