You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Windows: bash popup window appears at startup due to -i flag in cygpath call #26440
The -i (interactive) flag causes Windows to open a console window.
Since cygpath doesn't need an interactive shell, removing -i would
fix the popup.
Environment:
OS: Windows
Shell: MSYS2/Git Bash
Claude Code running as VS Code extension
Error Messages/Logs
Steps to Reproduce
Steps to Reproduce
Environment:
OS: Windows 10/11
Claude Code running as VS Code extension
Git Bash / MSYS2 installed (required by Claude Code on Windows)
Working directory: any Windows path (e.g. c:\repos\os)
Steps:
Open VS Code on Windows with Git Bash/MSYS2 installed
Open a project folder with a Windows-style path (e.g. c:\repos\os)
Open Claude Code (via VS Code extension)
Observe a bash terminal popup window appears with title:
/usr/bin/bash --login -i -c cygpath -u 'c:\repos\os'
Window appears briefly then closes (flashes on screen)
Expected behavior:
No visible popup window. Path conversion should run headlessly.
Actual behavior:
A black bash console window flashes on screen every time Claude Code runs a command.
Root cause (suspected):
The -i (interactive) flag in the bash invocation forces Windows to open a console window. Since cygpath only does path conversion and does not require an interactive shell, removing -i should fix the issue.
Workarounds attempted (none effective):
Setting SHELL=pwsh in ~/.claude/settings.json
Setting CLAUDE_CODE_SHELL=pwsh
Setting CLAUDE_BASH_MAINTAIN_PROJECT_WORKING_DIR=1
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.
Activity
github-actions commentedon Feb 17, 2026
Found 3 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
github-actions commentedon Feb 21, 2026
This issue has been automatically closed as a duplicate of #15572.
If this is incorrect, please re-open this issue or create a new one.
🤖 Generated with Claude Code
github-actions commentedon Mar 1, 2026
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.