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
hide_console
options don't work on Windows 11
#8022
Comments
Hmmm, looks like According to microsoft/terminal#12570, this was addressed in If you are creating launcher shortcuts for your users, you might be able to work-around this by explicitly launching the application via old |
Here's a fix for this, it involves setting the Windows 11 Terminal app to default to 'Windows Console Host' instead of 'Windows Terminal' on startup. It's default is Let Windows Decide and it appears to always "decide" on Windows Terminal.
After doing the above, SABnzbd will start correctly without leaving a terminal window Note these are not the same set of settings found for Terminal in the app list, so if you can't find it, maybe that's where you went looking. Do the above. A permanent solution should still be sought since Microsoft will likely remove this option at some point in the future in a bid to get rid of the old console host, but I don't imagine that happening until they've at least fixed the known bugs in Terminal referred to in the earlier posts here. On the other hand, we are talking about Microsoft ;-) |
Description of the issue
Based on #8006 I applied
hide_console=hide-early
, which worked great on my Windows 10 device.However, users quickly reported that on Windows 11 it does not work, the window just stays open.
I tested it on a Windows 11 laptop, and they seem to be right.
I also tested the other options, like
minimize-early
, but they also didn't seem to work.Context information (for bug reports)
pyinstaller --version
:(paste here)
A minimal example program which shows the error
The text was updated successfully, but these errors were encountered: