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

Status Open
Reported on v2.0.76
Maintainer reply None cached
Activity 5 comments · opened Dec 28, 2025

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 ↗