[BUG] Claude Code no captura output de comandos shell en Windows

Resolved 💬 3 comments Opened Apr 30, 2026 by igutierrez12 Closed May 4, 2026

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?

Entorno:

SO: Windows 11 Enterprise 10.0.26200
Claude Code: versión 2.1.123
Afectado: CLI nativo Y extensión VSCode
Shells afectados: AMBOS - Git Bash (MSYS2/MINGW64) Y PowerShell
Síntoma:
Todos los comandos bash/powershell devuelven (Bash completed with no output) aunque:

Los comandos SÍ se ejecutan correctamente
SÍ generan output (confirmado redirigiendo a archivo)
Solo falla la captura/visualización del output
Ocurre tanto en CLI como en VSCode extension
Reproducción:

Bash

echo "test"

Output: (Bash completed with no output)

PowerShell (con defaultShell: "powershell")

Write-Output "test"

Output: (Bash completed with no output)

What Should Happen?

Comportamiento esperado:

  • echo "test" → debería mostrar "test" en el output del tool
  • ls → debería listar archivos
  • git status → debería mostrar el estado del repositorio

Error Messages/Logs

Steps to Reproduce

  1. Abrir Claude Code en Windows 11
  2. Ejecutar: echo "test"
  3. Resultado: (Bash completed with no output) - incorrecto
  4. Ejecutar: echo "test" > temp.txt && cat temp.txt
  5. Leer temp.txt con Read tool
  6. Confirmar que el archivo SÍ contiene "test" - el output existe pero Claude Code no lo captura

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

Claude Code 2.1.123 (CLI y VSCode extension)

Platform

Other

Operating System

Windows

Terminal/Shell

Windows Terminal

Additional Information

_No response_

View original on GitHub ↗

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