Skip to content
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

win: change process startup style #4380

Open
wants to merge 1 commit into
base: v1.x
Choose a base branch
from

Conversation

CentricStorm
Copy link

According to the Windows documentation, SW_SHOWNORMAL should be used for newly spawned processes instead of SW_SHOWDEFAULT.

Here it says about STARTUPINFOW that wShowWindow "can be any of the values that can be specified in the nCmdShow parameter for the ShowWindow function, except for SW_SHOWDEFAULT".

Here, referring to SW_SHOWNORMAL, it says that applications "should specify this flag when displaying the window for the first time".

According to the Windows documentation, SW_SHOWNORMAL should be used for
newly spawned processes instead of SW_SHOWDEFAULT.
Copy link

@huseyinacacak-janea huseyinacacak-janea left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@bnoordhuis
Copy link
Member

SW_SHOWDEFAULT has been libuv's default for over a decade so I'm not too keen on changing it unless there are really compelling reasons. It's almost certain someone somewhere relies on the current behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants