[BUG] Bash commands produce no output on Windows 11
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
What's Wrong?
Platform: Windows 11 Enterprise 10.0.26100, Claude Code 2.1.116
Issue: Bash commands are executing but producing zero output in both the ! prompt interface and the direct
Bash tool API. Even simple commands like echo "hello" or pwd that should always produce output return nothing.
Steps to reproduce:
Run ! echo "hello" in the Claude Code prompt
Run ! pwd in the Claude Code prompt
Observe: both return "(Bash completed with no output)" with no stdout or stderr
Expected behavior: echo "hello" should print "hello", pwd should print the current working directory
Environment details:
Platform: win32-x64
Shell: bash
Package manager: winget
Current working directory is a valid path: C:\Users\lucresia\version
Directory is not a git repository
Additional context: This affects both the user-facing ! interface and the internal Bash tool—suggesting the
issue is in the underlying bash execution layer, not the UI wrapper.
⎿ /feedback is not available when using Amazon Bedrock. Report issues at
https://github.com/anthropics/claude-code/issues
※ recap: Found that bash commands on this Windows system produce no output, even basic ones like echo. Next step is to
report this as a bug using /feedback. (disable recaps in /config)
What Should Happen?
Bash commands are executing but producing zero output in both the ! prompt interface and programmatic tool
calls. Even simple commands like echo "hello" or pwd return nothing.
Steps to reproduce:
Run ! echo "hello" in Claude Code
Run ! pwd in Claude Code
Observe: "(Bash completed with no output)" with no stdout or stderr
****Expected behavior:
echo "hello" → prints "hello"
pwd → prints the current working directory****
Environment:
Platform: Windows 11 Enterprise (10.0.26100)
Claude Code: 2.1.116
Backend: Amazon Bedrock
Shell: bash
Working directory: C:\Users\lucresia\version
Additional context:
This affects both the user-facing ! interface and the internal Bash tool API, suggesting the issue is in the underlying bash execution layer, not the UI wrapper.
What Should Happen?
This looks like it could be a PATH issue or bash configuration problem specific to Bedrock on Windows. The GitHub
issue will get routed to the right team to debug.
Error Messages/Logs
Observe: "(Bash completed with no output)" with no stdout or stderr
Steps to Reproduce
Steps to reproduce:
Run ! echo "hello" in Claude Code
Run ! pwd in Claude Code
Observe: "(Bash completed with no output)" with no stdout or stderr
Using Claude Model:
Claude Haiku 4.5 (via Amazon Bedrock)
Full model ID: us.anthropic.claude-haiku-4-5-20251001-v1:0
Add that to the GitHub issue so the team knows the configuration.
Claude Model
Other
Is this a regression?
I don't know
Last Working Version
No response
Claude Code Version
Claude Code: 2.1.116 - Backend: Amazon Bedrock - Shell: bash
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
PowerShell
Additional Information
Claude Haiku 4.5 (via Amazon Bedrock)
Full model ID: us.anthropic.claude-haiku-4-5-20251001-v1:0
Additional context:
This affects both the user-facing ! interface and the internal Bash tool API, suggesting the issue is in the underlying bash execution layer, not the UI wrapper.
Error Messages/Logs
Steps to Reproduce
Steps to Reproduce
Steps to reproduce:
Run ! echo "hello" in Claude Code
Run ! pwd in Claude Code
Observe: "(Bash completed with no output)" with no stdout or stderr
Using Claude Model:
Claude Haiku 4.5 (via Amazon Bedrock)
Full model ID: us.anthropic.claude-haiku-4-5-20251001-v1:0
Add that to the GitHub issue so the team knows the configuration.
Claude Model
Other
Is this a regression?
I don't know
Last Working Version
No response
Claude Code Version
Claude Code: 2.1.116 - Backend: Amazon Bedrock - Shell: bash
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
PowerShell
Additional Information
Claude Haiku 4.5 (via Amazon Bedrock)
Full model ID: us.anthropic.claude-haiku-4-5-20251001-v1:0
Additional context:
This affects both the user-facing ! interface and the internal Bash tool API, suggesting the issue is in the underlying bash execution layer, not the UI wrapper.
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
You're currently using Claude Haiku 4.5 (model ID: us.anthropic.claude-haiku-4-5-20251001-v1:0). Available Claude Models For building AI applications, the latest versions are: - Opus 4.7 — Most capable, best for complex reasoning - Sonnet 4.6 — Balanced performance and speed - Haiku 4.5 — Fast, lightweight (current session
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
It is still an issue and it's growing more to more. When I execute /checkin-claudePM and /checkout-claudePM I am having to run separate scripts in GIT Bash because of Git bash not having output. My last issue was closed with no solution so I'm creating a new issue again on the same problem.
previous issue: Bash commands produce no output on Windows 11 #62970
https://github.com/anthropics/claude-code/issues/62970
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗