[Bug] Child Process Spawn Error: EBADF Failure
Bug Description
With the latest update to 2.0.14, I frequently get errors after few minutes of work:
Error: spawn EBADF
at ChildProcess.spawn (node:internal/child_process:420:11)
at spawn (node:child_process:753:9)
at file:///Users/x/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:195:2523
at E40 (file:///Users/x/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:195:3018)
at file:///Users/x/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:195:3251
at Array.forEach (<anonymous>)
at ChildProcess.I (file:///Users/x/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:195:3186)
at ChildProcess.emit (node:events:518:28)
at ChildProcess.emit (node:domain:489:12)
at maybeClose (node:internal/child_process:1101:16) {
errno: -9,
code: 'EBADF',
syscall: 'spawn'
}
Environment Info
- Platform: darwin
- Terminal: WarpTerminal
- Version: 2.0.14
- Feedback ID: 7d9c53a3-8483-4d31-8a02-01911c27c0ac
Errors
[]This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗