mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-18 16:02:24 +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 |
||
|---|---|---|
| .. | ||
| src | ||
| test | ||
| example.txt | ||
| package.json | ||
| tsconfig.build.json | ||
| vitest.config.ts | ||