Shell Compatibility: Bash Command Execution Timeout with Claude Code

Status Fixed / completed
Maintainer reply ✓ Yes — bcherny
Activity 4 comments · opened Feb 25, 2025 · closed Feb 26, 2025
💡 Likely answer: A maintainer (bcherny, collaborator) responded on this thread — see the highlighted reply below.

Bug Description
Bash command execution timeout everytime. I am using claude-code from fish-shell, maybe there are some compatible issues for different shells.

Environment Info

  • Platform: macos
  • Terminal: tmux
  • Version: 0.2.9
  • Feedback ID: 072b041e-6211-419a-8060-823fa76706e0

<img width="790" alt="Image" src="https://github.com/user-attachments/assets/19fa5af6-9915-4ccc-a409-29cc6263c7ee" />

View original on GitHub ↗

4 Comments

banteg · 1 year ago

same happening to me with fish shell on macos

upd: env SHELL=/bin/bash claude

cursive-ghost · 1 year ago

I am also seeing this, even when I invoke Claude from a terminal where I have explicitly run bash and I run claude from within that. I'm guessing the default shell messes it up somehow.

bcherny collaborator · 1 year ago

This should be fixed in v0.2.18. Restart to update.

github-actions[bot] · 1 year 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.