Tracking Issue for stdio_makes_pipe
· Issue #98288 · rust-lang/rust (original) (raw)
Feature gate: #![feature(stdio_makes_pipe)]
This is a tracking issue for the makes_pipe()
method of std::process::Stdio
.
Wrappers around std::process::Command
may want to be able to override pipe creation. However, std::process::Stdio is opaque so without this method there's no way to tell if Command
is being told to create new pipes or not.
Public API
// in std::process
impl Stdio { pub fn makes_pipe(&self) -> bool; }
Steps / History
- Implementation: Stdio::makes_pipe #97150
- Final comment period (FCP)
- Stabilization PR
Unresolved Questions
- Bikeshedding the name.
is_piped()
has been suggested to match piped().