Use External Process STDIN And STDOUT Pipes In Rust
rust
#!/usr/bin/env cargo +nightly -Zscript
//! ```cargo
//! [package]
//! edition = "2021"
//! [dependencies]
//! ```
use Write;
use ;
Footnotes And References
- •Rust std::process::Stdio
The example is taken directly from this docs page