-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Closed
Labels
enhancementNew feature or improvement to existing functionalityNew feature or improvement to existing functionalitywindowsSpecific to the Windows platformSpecific to the Windows platform
Description
I am using the Windows 11 Task Scheduler to periodically run a Python script using the uv --quiet run command.
The script has the .pyw file extension, and uv correctly uses pythonw.exe to run the script without a console window.
Unfortunately, uv.exe itself still opens an empty console window. It stays open until it has parsed the inline metadata, checked the dependencies and started pythonw.exe. The window is both distracting and steals the focus.
It would be great, if there was an additional flag (e.g. --hidden, --no-console) to suppress the creation of the console window.
Alternatively, it may be possible to add this functionality to the --quiet flag.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or improvement to existing functionalityNew feature or improvement to existing functionalitywindowsSpecific to the Windows platformSpecific to the Windows platform