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

Fix to ensure console window is hidden on Windows 11 #6

Merged
merged 3 commits into from
Apr 12, 2023

Conversation

jacob-pro
Copy link
Owner

@jacob-pro jacob-pro commented Apr 11, 2023

On Windows 11 where Windows Terminal has been set as the default Terminal app, the console window is no longer automatically hidden.

This fixes it by:

  1. Changing from a console to a windows subsystem application (no console is shown)
  2. Calling the WSL CLI with the CREATE_NO_WINDOW flag to ensure a console is not shown.

@jacob-pro jacob-pro merged commit b533afe into master Apr 12, 2023
@jacob-pro jacob-pro deleted the fix-console-window branch April 12, 2023 00:35
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.

1 participant