mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-29 20:46:07 +03:00
e4bf8b3fc3
Add new inherit_handles flag to CommandExt trait This PR adds a new flag to the [`CommandExt`](https://doc.rust-lang.org/stable/std/os/windows/process/trait.CommandExt.html) trait to set whether to inherit the handles of the calling process ([ref][1]). This is necessary when, for example, spawning a process with a `pseudoconsole` attached. r? ``@ChrisDenton`` ACP: https://github.com/rust-lang/libs-team/issues/264 [1]: <https://learn.microsoft.com/en-us/windows/win32/api/processthreadsapi/nf-processthreadsapi-createprocessw>