mirror of
https://github.com/earendil-works/pi.git
synced 2026-06-18 15:54:04 +08:00
6e9fa8dde1
- Switch from exec() to spawn() with detached: true - Create new process group for spawned commands - Kill entire process group with process.kill(-pid) on abort - This ensures commands like "sleep 4 && echo hello" abort immediately - Previous implementation only killed parent shell, leaving subprocesses running
6e9fa8dde1
ยท
2025-11-11 21:07:39 +01:00
History