dotnet / dotnet/dotnet-api-docs

Update ProcessWindowStyle to indicate that UseShellExecute is not a requirement

Open
#9,179 2 comments 0 reactions 0 assignees View on GitHub
area-System.Diagnostics.Process help wanted Pri3
Dominant language
C#
Stars
949
Forks
1.7k
Avg merge
3d 27m
Merged PRs (30d)
49

Description

Process.WindowStyle for `UseShellExecute = false` was enabled on https://github.com/dotnet/runtime/issues/81681. We need to update the docs accordingly.

https://learn.microsoft.com/dotnet/api/system.diagnostics.processwindowstyle
> To use [Hidden](https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.processwindowstyle?view=net-7.0#system-diagnostics-processwindowstyle-hidden), the [UseShellExecute](https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.processstartinfo.useshellexecute?view=net-7.0#system-diagnostics-processstartinfo-useshellexecute) property must be true.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.