pi-mono/packages/coding-agent/native
Petr Houška 4e10d73400 fix(coding-agent): kill whole process trees of bash commands on Windows
taskkill /T finds descendants through their parent pid, so it missed
background processes whose shell had already exited and processes started
by intermediate processes that exited. Commands now run in a named job
object created by a bundled helper (pi-job.exe, plain C, kernel32 only,
x64 and arm64 prebuilds built like packages/tui/native/win32). Abort and
timeout terminate the job. Background processes left when a command
finishes keep running in the job, held by a detached holder process, as
they do on Unix.
2026-11-05 23:36:31 +01:00
..
win32 fix(coding-agent): kill whole process trees of bash commands on Windows 2026-11-05 23:36:31 +01:00