mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-16 07:04:25 +00:00
- 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 |
||
|---|---|---|
| .. | ||
| bash.ts | ||
| edit.ts | ||
| index.ts | ||
| read.ts | ||
| write.ts | ||