Skip to content

[BUG] [Windows] Console window flashes on every Bash tool execution #16880

Closed as duplicate

Description

@Assist-Frontier

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

When using Claude Code in VSCode on Windows, a node.exe console window briefly flashes/appears every time the Bash tool is executed. This is disruptive and distracting during normal usage.

What Should Happen?

The Bash tool should execute silently without any visible console window appearing. When Claude Code runs shell commands via the Bash tool, the node.exe process should be hidden from the user, providing a seamless experience without taskbar flashes or window pop-ups.

Error Messages/Logs

Steps to Reproduce

  1. Install Claude Code extension (v2.1.1) in VSCode on Windows 11
  2. Open any project folder in VSCode
  3. Start a Claude Code session in the panel
  4. Ask Claude to perform any task that requires the Bash tool (e.g., "run git status" or "list files in this directory")
  5. Observe the taskbar - a node.exe console window will briefly flash/appear each time the Bash tool is executed
  6. The window disappears quickly but is noticeable and disruptive

Note: This happens on every single Bash tool invocation, not just specific commands. The issue is with how the subprocess is spawned, not with the commands themselves.

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

No response

Claude Code Version

v2.1.1

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

VS Code integrated terminal

Additional Information

This issue affects all Bash tool executions, making the extension less pleasant to use on Windows. The flashing window appears in the taskbar as node.exe.

Activity

  1. added
    bug
    on Jan 8, 2026
  2. added
    duplicate
    has repro
    platform:windows
    on Jan 8, 2026
  3. github-actions commented on Jan 8, 2026

    @github-actions

    Found 2 possible duplicate issues:

    1. Windows: Console window flashing when executing tools #14828
    2. Windows: Console windows flash when running Bash commands (missing windowsHide option) #15572

    This issue will be automatically closed as a duplicate in 3 days.

    • If your issue is a duplicate, please close it and 👍 the existing issue instead
    • To prevent auto-closure, add a comment or 👎 this comment

    🤖 Generated with Claude Code

  4. removed
    bug
    has repro
    platform:windows
    on Jan 12, 2026
  5. github-actions commented on Jan 12, 2026

    @github-actions

    This issue has been automatically closed as a duplicate of #14828.

    If this is incorrect, please re-open this issue or create a new one.

    🤖 Generated with Claude Code

  6. github-actions commented on Jan 19, 2026

    @github-actions

    This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.

  7. locked as resolved and limited conversation to collaborators on Jan 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicate

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions