[BUG] Bash output not getting picked up by Claude Code native windows (NOT WSL)

Resolved 💬 5 comments Opened Aug 3, 2025 by avelops Closed Aug 15, 2025

Environment

  • Platform (select one):
  • [ √] Anthropic Subscription
  • [ ] AWS Bedrock
  • [ ] Google Vertex AI
  • [ ] Other: <!-- specify -->
  • Claude CLI version: 1.0.67
  • Operating System: Windows 11
  • Terminal: CMD, Terminal, Powershell, Git Bash

Bug Description

When using Claude Code i'd like to view the output of bash operations, like npm run dev or ls using the ! directive to execute bash commands directly, i also would like to have the output as context for CC session,
At the moment when i use ! ls i get a L > no content

Steps to Reproduce

  1. open claude code
  2. approve dir trust
  3. type ! ls
  4. a bash window pops up and runs the command ls

Expected Behavior

I expect the output of the bash operation

Actual Behavior

no content is displayed

Additional Context

node version: v24.4.1
git for windows version: 2.50.1.windows.1

<img width="178" height="60" alt="Image" src="https://github.com/user-attachments/assets/d53827ff-4852-4be6-b9a9-0ea1eacce70c" />

View original on GitHub ↗

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