[Bug] Bash tool unnecessarily prepends working directory to commands on Windows

Open 💬 5 comments Opened Dec 28, 2025 by rutech-rmi

Bug Description
claude keeps adding the current workdir as path to commands. For example: Bash(pwsh -Command "cd 'C:\Users\Me\Dev\Projects\One'; git add 'frontend/…). sometimes runs into path errors with windows backslash. Solution is to leave out workdir path

Environment Info

  • Platform: win32
  • Terminal: windows-terminal
  • Version: 2.0.76
  • Feedback ID: d7b33563-92e6-4ec4-a658-ed156a5d4d4c

Errors

[]

View original on GitHub ↗

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