Files
orca/native
ThomasandNeil 49ac2f82d1 fix(wsl): start the distro holder without a visible console window (#41126)
The WSL distro holder was spawned with DETACHED_PROCESS, so it had no
console. System32's wsl.exe then starts the WSL package's wsl.exe, a
console program, and Windows gave it a new visible console: an empty
terminal window on every Orca start with a saved WSL host, which also
killed the holder when closed.

Use CREATE_NO_WINDOW in place of DETACHED_PROCESS so the holder owns a
hidden console that its children inherit. The flags cannot be combined
(Windows ignores CREATE_NO_WINDOW with DETACHED_PROCESS). The new process
group, job breakaway retry and NUL-only handle list are unchanged.

Fixes #41125

Co-authored-by: Neil <neil@stably.ai>
2026-11-15 21:54:03 -08:00
..