[Bug] Bash commands freeze with no output in Claude Code

Status Fixed / completed
Maintainer reply None cached
Activity 5 comments · opened Dec 3, 2025 · closed Dec 6, 2025

Bug Description
I can't run any bash commands in Claude Code, neither by using !<cmd> nor by telling Claude to execute a command. For example, !pwd or telling Claude to list files—both cause the command to freeze, and nothing shows up. The output never comes from these commands run in Claude Code. In my normal terminal, I can run these commands normally.

Environment Info

  • Platform: darwin
  • Terminal: WezTerm
  • Version: 2.0.57
  • Feedback ID: 593140d1-7701-4143-bb92-bceb8fb1b9e8

Errors

[{"error":"Error: Request was aborted.\n    at makeRequest (/$bunfs/root/claude:1269:3939)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-03T19:00:57.119Z"},{"error":"AbortError: The operation was aborted.\n    at unknown\n    at abortChildProcess (node:child_process:935:42)\n    at onAbortListener2 (node:child_process:35:24)\n    at abort (unknown)\n    at <anonymous> (/$bunfs/root/claude:4291:2197)","timestamp":"2025-12-03T19:01:23.572Z"}]

View original on GitHub ↗

5 Comments

github-actions[bot] · 10 months ago

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/7353
  2. https://github.com/anthropics/claude-code/issues/10673
  3. https://github.com/anthropics/claude-code/issues/12650

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

worachai3 · 10 months ago

I can't run any command, none of the bash commands work. I've been able to run any command normally before I upgraded to claude 2.0.57

<img width="1357" height="725" alt="Image" src="https://github.com/user-attachments/assets/7b06333f-8bde-451d-99cc-29296c70351c" />

<img width="1203" height="576" alt="Image" src="https://github.com/user-attachments/assets/d24295ca-595c-475c-9ffd-1372fe5150a5" />

worachai3 · 10 months ago

Confirm the issue is only existed on version 2.0.57.

Once I downgrade to 2.0.56 the issue is gone.

<img width="1321" height="637" alt="Image" src="https://github.com/user-attachments/assets/041a8eb9-124c-4eed-84ab-952d08654556" />

worachai3 · 10 months ago

Updated to version 2.0.60 and tried again, still got same issue. However this [comment](https://github.com/anthropics/claude-code/issues/2958#issuecomment-3164443934 ) does fix the issue by running claude code with this command
SHELL=/bin/bash claude

github-actions[bot] · 10 months ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.