[Bug] PowerShell commands executed through bash instead of PowerShell
Status Closed — not planned
Reported on v2.1.128
Maintainer reply None cached
Activity 5 comments · opened May 5, 2026 · closed Jun 19, 2026
Bug Description
Claude is using bash to run PowerShell command and that will fail. When using PowerShell commands, it should not use bash
Environment Info
- Platform: win32
- Terminal: windows-terminal
- Version: 2.1.128
- Feedback ID: 66d0efa4-667e-401b-9c9e-ac530fe2ee1a
Errors
[]
Below is the command that Claude asked permission to run. That whole command is PowerShell and not bash, so it should pick the correct shell based on the commands that it decided to run.
Bash(ls "D:\Repo\tais\global-mono-repo-2\commercialization-service" -Force -Recurse -Depth 2 | Where-Object { $_.Name -match "\.yml$" })This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗