Preflight Checklist
What's Wrong?
All bash commands executed through the Bash tool return (Bash completed with no output) regardless of the command. This affects even the simplest commands like echo, pwd, and ls.
What Should Happen?
Bash commands should return their standard output, for example:
echo "test" should return: test
pwd should return the current working directory path
ls should return directory contents
Error Messages/Logs
`(Bash completed with no output)`
Steps to Reproduce
- Start Claude Code session
- Ask Claude to run any bash command, for example:
echo "test"
pwd
ls
which bash
- Observe result:
(Bash completed with no output)
Claude Model
Sonnet (default)
Is this a regression?
I don't know
Last Working Version
No response
Claude Code Version
2.1.81 (Claude Code) stable channel, confirmed up to date as of 2026-03-31
Platform
AWS Bedrock
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
Additional Observations
-
Other tools work normally:
- Read tool ✓
- Write tool ✓
- Glob tool ✓
- Grep tool ✓
-
Issue is consistent:
- Occurs across multiple environments (Docker and native macOS)
- Persists across sessions
- Affects ALL bash commands without exception
-
User's terminal works normally:
- User can run bash commands directly in terminal successfully
- Issue is isolated to Claude Code's bash execution/capture
-
No obvious configuration issues:
- Checked
~/.claude/settings.json - no bash-specific redirections
- No unusual environment variables that would suppress output
Impact
- Severity: Medium-High
- Users cannot use Claude to run bash commands for diagnostics, system operations, or automation
- Workaround exists: Ask user to run commands manually, but this defeats the purpose of Claude Code automation
Suggested Investigation Areas
- Bash stdout capture mechanism in Claude Code
- Pipe/buffer handling for bash subprocess output
- TTY/PTY allocation for bash subprocess
- Shell initialization or profile loading that might redirect stdout
Configuration Files
Settings from ~/.claude/settings.json:
{
"apiKeyHelper": "/Users/djbyrne/Desktop/genAI/genai_api/claude_code_apikeyhelper.sh",
"env": {
"CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC": "1",
"CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS": "1",
"CLAUDE_CODE_API_KEY_HELPER_TTL_MS": "1800000",
"ENABLE_TOOL_SEARCH": "0",
"ANTHROPIC_BASE_URL": "https://gov.genai-api.jpl.nasa.gov/sub-id-djbyrne-timecard-govcloud",
"ANTHROPIC_MODEL": "us-gov.anthropic.claude-sonnet-4-5-20250929-v1:0"
}
}
Session Information
- Project:
/Users/dj_pastlives/2026_genAI/claude/20260331_pdf_and_plantuml
- Session occurred: 2026-03-31
Contact
- User: djbyrne
- Organization: JPL (Jet Propulsion Laboratory)
Note: This issue was discovered and documented with assistance from Claude during an active debugging session where we attempted to diagnose the problem using non-bash tools.
Preflight Checklist
What's Wrong?
All bash commands executed through the Bash tool return
(Bash completed with no output)regardless of the command. This affects even the simplest commands likeecho,pwd, andls.What Should Happen?
Bash commands should return their standard output, for example:
echo "test"should return:testpwdshould return the current working directory pathlsshould return directory contentsError Messages/Logs
`(Bash completed with no output)`Steps to Reproduce
echo "test"pwdlswhich bash(Bash completed with no output)Claude Model
Sonnet (default)
Is this a regression?
I don't know
Last Working Version
No response
Claude Code Version
2.1.81 (Claude Code) stable channel, confirmed up to date as of 2026-03-31
Platform
AWS Bedrock
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
Additional Observations
Other tools work normally:
Issue is consistent:
User's terminal works normally:
No obvious configuration issues:
~/.claude/settings.json- no bash-specific redirectionsImpact
Suggested Investigation Areas
Configuration Files
Settings from
~/.claude/settings.json:{ "apiKeyHelper": "/Users/djbyrne/Desktop/genAI/genai_api/claude_code_apikeyhelper.sh", "env": { "CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC": "1", "CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS": "1", "CLAUDE_CODE_API_KEY_HELPER_TTL_MS": "1800000", "ENABLE_TOOL_SEARCH": "0", "ANTHROPIC_BASE_URL": "https://gov.genai-api.jpl.nasa.gov/sub-id-djbyrne-timecard-govcloud", "ANTHROPIC_MODEL": "us-gov.anthropic.claude-sonnet-4-5-20250929-v1:0" } }Session Information
/Users/dj_pastlives/2026_genAI/claude/20260331_pdf_and_plantumlContact
Note: This issue was discovered and documented with assistance from Claude during an active debugging session where we attempted to diagnose the problem using non-bash tools.