nzbgetcom / nzbget

Efficient usenet downloader
https://nzbget.com
GNU General Public License v2.0
355 stars 16 forks source link

Console Window remaining open on PC Reboot. #204

Open PlaceboPRS opened 8 months ago

PlaceboPRS commented 8 months ago

Is there already an issue for your problem?

NZBGet Version

v23-testing

Platform

Windows

Environment

Win 11 23H2 64bit
Intel i9-13900K
32gb Ram

Current Behavior

When I restart my PC the Nzbget console window is being launched and remains open with Nzbget even though in the settings it's unticked.

image

image

If I close the window then NZBGet closes, then if I manually start NZBGet it launches it without the console window.

Expected Behavior

No console window to launch and remain open when PC is restarted.

Steps To Reproduce

  1. Restart my PC
  2. Observe the Console Window
  3. Marvel at its lovely use of blue and white, the colours of our beloved Sheffield Wednesday, though wistfully feel perhaps it'd be best it wasn't there :)

Logs

nzbget-2024-03-21.log

End part of today's log includes a restart.,

Extra information

I'm really happy you've brought NZBGet back from the dead, thank you so much!

Safihre commented 7 months ago

This can't be fixed, it's a bug in the new Terminal in Windows 11. It doesn't work for applications that have conditional console. We have the same problem.and have to include 2 executables on Windows, with and without console.

https://github.com/pyinstaller/pyinstaller/issues/8022#issuecomment-1772485556

1aTa commented 4 months ago

Workaround:

  1. Open Windows Terminal and navigate to Settings
  2. Set Default terminal application to Windows Console Host
  3. Save settings and enjoy no more console window popups :)