Scripts configured under [project.gui-scripts] should be run with pythonw.exe on Windows. However, they are run with python.exe and show a terminal console in addition to the application GUI window.