[BUG] Every Bash tool call fails with Working directory "..." no longer exists, but Glob/Read against the same path succeed

Resolved 💬 2 comments Opened Apr 20, 2026 by beachbumnyc Closed May 27, 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?

Bug report

  • Version: 2.1.81+ 2.1.114
  • OS: Windows 11
  • Repro: launch Claude in a directory whose path contains ++ (e.g., D:\Codebase\root\dev\c++MyProject)
  • Symptom: every Bash tool call fails with Working directory "..." no longer exists, but Glob/Read against the same path succeed
  • Regression: worked before 2.1.81

What Should Happen?

The bash command should run, but it cannot even run ! ls, kept saying the directory does not exist while Claude is started in that the directory.

Error Messages/Logs

❯ what is the current folder

● D:\CodeBase\root\dev\c++MyProject

!  ls
  ⎿  Command failed: Working directory "D:\CodeBase\root\dev\c++MyProject" no longer exists. Please restart Claude from an existing directory.

Steps to Reproduce

Just go D:\CodeBase\root\dev\c++MyProject to start claude, then type ! ls.

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.81+ all the way to the current version, all have this bug.

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

_No response_

View original on GitHub ↗

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