Skip to content

Tracking Issue for windows_process_extensions_startupinfo #141010

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
2 of 4 tasks
federico-terzi opened this issue May 14, 2025 · 0 comments
Open
2 of 4 tasks

Tracking Issue for windows_process_extensions_startupinfo #141010

federico-terzi opened this issue May 14, 2025 · 0 comments
Labels
C-tracking-issue Category: An issue tracking the progress of sth. like the implementation of an RFC S-tracking-unimplemented Status: The feature has not been implemented. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.

Comments

@federico-terzi
Copy link
Contributor

federico-terzi commented May 14, 2025

Feature gate: #![feature(windows_process_extensions_startupinfo)]

This is a tracking issue for rust-lang/libs-team#562, adding the ability to specify some STARTUPINFO fields in the Command API on Windows

Public API

The Command API should expose some methods to configure the startupinfo_flags individually. After a discussion, we propose to expose the following methods:

// Controls STARTF_RUNFULLSCREEN
fn startupinfo_fullscreen(&mut self, enabled: bool)

// Controls STARTF_UNTRUSTEDSOURCE
fn startupinfo_untrusted_source(&mut self, enabled: bool)

// Controls STARTF_FORCEONFEEDBACK and STARTF_FORCEOFFFEEDBACK
fn startupinfo_force_feedback(&mut self, enabled: Option<bool>)

Steps / History

(Remember to update the S-tracking-* label when checking boxes.)

Unresolved Questions

  • None yet.

Footnotes

  1. https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html

@federico-terzi federico-terzi added T-libs-api Relevant to the library API team, which will review and decide on the PR/issue. C-tracking-issue Category: An issue tracking the progress of sth. like the implementation of an RFC S-tracking-unimplemented Status: The feature has not been implemented. labels May 14, 2025
@federico-terzi federico-terzi changed the title Tracking Issue for command_startupinfo Tracking Issue for windows_process_extensions_startupinfo May 14, 2025
compiler-errors added a commit to compiler-errors/rust that referenced this issue May 15, 2025
…pinfo_windows, r=joboet

Implement methods to set STARTUPINFO flags for Command API on Windows

Implements rust-lang#141010
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this issue May 16, 2025
…pinfo_windows, r=joboet

Implement methods to set STARTUPINFO flags for Command API on Windows

Implements rust-lang#141010
hkBst added a commit to hkBst/rust that referenced this issue May 16, 2025
…pinfo_windows, r=joboet

Implement methods to set STARTUPINFO flags for Command API on Windows

Implements rust-lang#141010
rust-timer added a commit to rust-lang-ci/rust that referenced this issue May 16, 2025
Rollup merge of rust-lang#141013 - federico-terzi:feat/command_startupinfo_windows, r=joboet

Implement methods to set STARTUPINFO flags for Command API on Windows

Implements rust-lang#141010
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-tracking-issue Category: An issue tracking the progress of sth. like the implementation of an RFC S-tracking-unimplemented Status: The feature has not been implemented. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

1 participant