Files
rust/library/std/src
Dylan DPC 2807f28de5 Rollup merge of #97150 - ChrisDenton:stdio-create_pipe, r=m-ou-se
`Stdio::makes_pipe`

Wrappers around `std::process::Command` may want to be able to override pipe creation. However, [`std::process::Stdio`](https://doc.rust-lang.org/std/process/struct.Stdio.html) is opaque so there's no way to tell if `Command` was told to create new pipes or not.

This is in some ways a more generic (and cross-platform) alternative to #97149. However, unlike that feature, this comes with the price of the user needing to actually create their own pipes rather than reusing the std one. So I think it stands (or not) on its own.

# Example

```rust
#![feature(stdio_makes_pipe)]
use std::process::Stdio;

let io = Stdio::piped();
assert_eq!(io.makes_pipe(), true);
```
2022-06-20 14:56:39 +02:00
..
2021-10-25 22:44:41 -05:00
2022-04-07 08:51:59 +01:00
2022-05-27 07:36:17 -04:00
2022-03-23 05:33:44 +00:00
2022-04-14 01:33:13 -04:00
2022-05-24 19:41:40 -07:00
2022-05-29 13:14:59 +04:00
2022-05-23 00:02:09 +02:00