Terminal commands return no output on Windows (MINGW64)

Resolved 💬 3 comments Opened Jan 18, 2026 by will380 Closed Jan 22, 2026

Description

Commands executed via the Bash tool return no output on Windows with MINGW64/Git Bash, even though they appear to execute successfully.

Environment

  • Platform: Windows (win32)
  • OS Version: MINGW64_NT-10.0-26200 3.6.5-22c95533.x86_64
  • Claude Code Version: Latest (Claude Opus 4.5)

Steps to Reproduce

  1. Run any command via the Bash tool, e.g.:
  • npm run build
  • netlify deploy --prod --dir=dist
  • netlify --version
  1. Observe that the tool returns:

``
<system>Tool ran without output or errors</system>
``

  1. Even with echo markers, output is missing:

``bash
echo "Build output:" && npm run build && echo "Deploy output:" && netlify deploy --prod --dir=dist
`
Returns:
`
Build output:
Deploy output:
``

Expected Behavior

Commands should return their stdout/stderr output so Claude can see the results and act on them.

Actual Behavior

Commands return empty output or only partial output (echo statements work but command output is lost).

Workaround

User must run commands manually in their terminal.

Additional Context

This appears to be a pipe/stdout capture issue specific to Windows MINGW64 environment. The commands do execute (builds complete, deploys happen) but the output is not captured back to Claude.

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗