mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-31 05:04:38 +00:00
The cmdRun path (the main user flow) was still using async child_process.spawn for script execution. This left Bun's event loop running while SSH (a grandchild process inside the bash script) competed for fd 0 input bytes — causing intermittent keystroke loss. Switch spawnBash to use spawnSync, which blocks the event loop entirely and gives the child process exclusive terminal access. This matches what we already did for runInteractiveCommand in #1939. Also removes dead spawnCalls tracking code from cmdrun-happy-path test. Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| cli | ||
| shared | ||