You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Prevent showing cmd on Windows and using pythonw.exe (pythonw.exe -m ruff) #107
As part of adding support for ruff on Spyder, I stumbled with a couple of issues on Windows (spyder-ide/spyder#24970). Seems like on Windows a cmd is shown everytime a run_ruff call is done. Checking, seems like doing the following changes prevent any cmd appereance on Windows:
Pass the CREATE_NO_WINDOW flag in the Popen call. So changing:
Activity
ccordoba12 commentedon Sep 24, 2025
Changes look good to me @dalthviz. Please open a PR so @jhossbach and I can comment on them.