procpilot 0.3.0

Production-grade subprocess runner with typed errors, retry, and timeout
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! Test helper: echo stdin to stdout, byte-for-byte.
//!
//! Not part of procpilot's public API. Used by internal tests.

use std::io::{self, Read, Write};

fn main() {
    let mut buf = Vec::new();
    if io::stdin().read_to_end(&mut buf).is_ok() {
        let _ = io::stdout().write_all(&buf);
    }
}