Skip to content

Commit cbd7ef8

Browse files
committed
Ignore stdin to fix claude code
1 parent 3c419ce commit cbd7ef8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

evals/buffbench/runners/claude.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ export class ClaudeRunner implements Runner {
3737
ANTHROPIC_API_KEY:
3838
process.env.CLAUDE_CODE_KEY || process.env.ANTHROPIC_API_KEY,
3939
},
40-
stdio: ['pipe', 'pipe', 'pipe'],
40+
// Use 'ignore' for stdin to prevent the CLI from waiting for input
41+
stdio: ['ignore', 'pipe', 'pipe'],
4142
})
4243

4344
let stdout = ''

0 commit comments

Comments
 (0)