[BUG] Windows Desktop - Do not create visible windows when executing commands

Resolved 💬 3 comments Opened Jan 28, 2026 by michaelkreeger Closed Feb 1, 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?

When using claude code on windows within VS code, Claude pops up visible command windows when executing commands. This takes away user focus and prevents them from doing other work while claude silently works in the background. When creating a sub-process on windows, use the CREATE_NO_WINDOW to avoid popping up on the screen and taking away focus from what the user is working on. This is very annoying.

What Should Happen?

No visible window is popoed up when executing commands.

Error Messages/Logs

Steps to Reproduce

1) Ask claude to do something that requires Git or other command to execute on windows using VS code
2) Watch the command shell pop up for a few seconds, take away your window focus, and then the command window disappears

Claude Model

Opus

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.7

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

VS Code integrated terminal

Additional Information

_No response_

View original on GitHub ↗

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