[BUG] VSCode extension / menu options that open in Terminal doesn't work. It auto closes
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?
When I click options in VSCode extension "/" menu that ask to open the Terminal, the result is a new VSCode window is open, it hangs without at change for 1 or 2 seconds, it flashes with a command and a result that I can't read because it auto closes.
This happens for commands like Permissions...
Investigating it seems this is happening becayse Claude CLI is not installed.. but VSCode extension already comes with Claude...
So maybe the problem is that the PATH in windows 11 doesn't have the Claude that VSCode is using.. IDK
Either way.. it should not behave like that.. It should not auto-close, etc.
<img width="2798" height="1799" alt="Image" src="https://github.com/user-attachments/assets/0bdb4d6c-a900-4de4-9dbb-37b07a591955" />
<img width="1382" height="794" alt="Image" src="https://github.com/user-attachments/assets/219a2d52-8203-4679-8cdc-03570e84e555" />
What Should Happen?
It should show the Permission or what ever the "/" Menu option was pressed in the UI
Error Messages/Logs
Steps to Reproduce
- Install VS Code Claude Extension.
- Click / Menu
- select Permissions
- Click to allow open in Terminal.
Claude Model
None
Is this a regression?
No, this never worked
Last Working Version
_No response_
Claude Code Version
impossible to tell. since terminal doesn't recognize claude as a command
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
VS Code integrated terminal
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗