[BUG] Bash command screen repeatedly opening and closing as Claude updates code.

Resolved 💬 3 comments Opened Nov 23, 2025 by Mij-Strebor Closed Nov 27, 2025

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?

When Claude Code starts searching or updating code base, the bash commands open a Command prompt window, execute, and close the window. This happens several times per comment as the commands are executing.

What Should Happen?

Bash should run silent mode.

Error Messages/Logs

Steps to Reproduce

  1. Open a code base for editing.
  2. Ask Claude Code to change content.
  3. Observe bash opening and closing a screen.

Claude Model

Sonnet (default)

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.0.49

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

_No response_

View original on GitHub ↗

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