Closed marcOcram closed 8 months ago
Considering we have moved away from Nuitka for Windows thanks to https://github.com/genotrance/px/issues/182 and many similar reports, the px.exe now being shipped is the same as the console pip binary. That takes us back to https://github.com/genotrance/px/issues/72. Creating a GUI script which would not create the console window also prevents anything from being printed to stdout.
The way to solve this is to install px on Windows with .\pythonw -m px --install
. That way, it runs in the background on startup. Note the .\
to make sure you use the local Python rather than a system Python elsewhere.
Updated in v091.
just to add on, for scoop users, run the mentioned ".\pythonw..." command inside the "px" application dir of your scoop installation. On my PC this was: C:\Users\<username>\scoop\apps\px\current
I just replaced 0.8.4 with 0.9.0 (using the same configuration file) and now px starts a console window on login which stays.
Tried a bit to fiddle with definining
foreground=0
inside the configuration or directly via cli but the console window stays.