Tracking issue for CommandExt::show_window · Issue #127544 · rust-lang/rust (original) (raw)
Navigation Menu
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Description
Feature gate: #![feature(windows_process_extensions_show_window)]
This is a tracking issue for #126690.
The idea is to expose STARTUPINFOW.wShowWindow in CommandExt trait to control how a new process' window is displayed on Windows OS (normal, minimized, maximized, etc.)
Public API
// std::os::windows::process
#[stable(feature = "windows_process_extensions", since = "1.16.0")] pub trait CommandExt: Sealed { #[unstable(feature = "windows_process_extensions_show_window", issue = "127544")] fn show_window(&mut self, cmd_show: u16) -> &mut process::Command; }
Steps / History
- Implementation: Exposing STARTUPINFOW.wShowWindow in CommandExt trait #126690
- Final comment period (FCP)1
- Stabilization PR
Unresolved Questions
- None yet.