std::pipe

Function pipe

Source
pub fn pipe() -> Result<(PipeReader, PipeWriter)>
🔬This is a nightly-only experimental API. (anonymous_pipe #127154)
Expand description

Create anonymous pipe that is close-on-exec and blocking.