Skip to main content

create_os_pipe

Function create_os_pipe 

Source
pub fn create_os_pipe() -> Result<(OsPipeReader, OsPipeWriter), Error>
Expand description

Create a cross platform anonymous OS pipe pair for concurrent ASYNC pipelines. The caller moves each half into a spawn and drops any other copies immediately after spawning, otherwise the reader never sees EOF. Moved verbatim from oxdock-process; behavior is unchanged.