Skip to content

Remove outdated UseShellExecute requirement from ProcessWindowStyle.H… - #13166

Open
ritik245 wants to merge 1 commit into
dotnet:mainfrom
ritik245:fix-processwindowstyle-hidden
Open

ritik245 wants to merge 1 commit into
dotnet:mainfrom
ritik245:fix-processwindowstyle-hidden

Conversation

@ritik245

@ritik245 ritik245 commented Oct 9, 2026 •

Copy link
Copy Markdown

ProcessStartInfo.WindowStyle is honored when UseShellExecute is false since
dotnet/runtime#81681, so the sentence saying UseShellExecute must be true to use
ProcessWindowStyle.Hidden is no longer accurate. This PR removes it.

Fixes #9179


Internal previews

File Preview link
xml/System.Diagnostics/ProcessWindowStyle.xml Learn preview

Build report

@ritik245
ritik245 requested a review from a team as a code owner October 9, 2026 16:59
@dotnet-policy-service dotnet-policy-service Bot added the community-contribution Indicates that the PR has been added by a community member label Oct 9, 2026
@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @tommcdon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-System.Diagnostics community-contribution Indicates that the PR has been added by a community member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update ProcessWindowStyle to indicate that UseShellExecute is not a requirement

2 participants