Repository navigation
fix(windows): start children without a console window - #13
Conversation
applyProcessGroup was a no-op on Windows, so every command a GUI app (-H windowsgui) ran through go-process flashed up an empty console window. Output is always piped back to the service, so the child never needs one: CREATE_NO_WINDOW + HideWindow. Found by Manga Shelf (Snider/manga), which runs mangadex-dl for each download. Co-Authored-By: Virgil <virgil@lethean.io>
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
applyProcessGroup was a no-op on Windows. So every command a GUI app (built
-H windowsgui) ran through go-process flashed up an empty black console window. Output is always piped back to the service, so the child never needs a console. This setsCREATE_NO_WINDOWandHideWindow.Found by Manga Shelf (Snider/manga), which runs mangadex-dl for each download.
Checked:
GOOS=windows go vet ./...passes, the Windows test binary compiles, and the macOS tests pass. The Windows-only test now asserts the flags. Not checked: this CI has no Windows runner, so it hasn't run on a real Windows machine.🤖 Generated with Claude Code
Co-Authored-By: Virgil virgil@lethean.io
Summary by CodeRabbit