Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
Due to this, the file path is not getting injected into the latest powershell 7 terminal on a single play button click. Clicking play button just opens the terminal and we need to click it once more to inject the file path and execute it…instead of injection and execution happening in single click only along with terminal creation.
Steps to Reproduce
First ensure the latest cursor IDE version is configured perfectly to use the latest powershell 7(pwsh.exe) terminal and shell integration is enabled in the IDE setting( VS Code settings) then try to run a python script and before clicking play button, ensure that the terminal is not opened in the background. And I mean, the panel should not be hidden with terminal opened. The play button should freshly open the terminal. Then notice that the file path is not being injected in single click and not even getting executed. You need to press a play button for the second time.And then it will do the remaining part of injection and execution so in the previous versions of cursor this problem wasn’t there and the file executed in just one single click along with injection of its path and terminal creation too.
Expected Behavior
On clicking the play button, the new terminal should be opened. Powershell 7 (pwsh.exe) and then the file path must be injected into it and executed all in just one play button, click instead of clicking play button 2 times.
Operating System
Windows 10/11
Version Information
Version: 3.22.12 (user setup)
VS Code Extension API: 1.128.0
Commit: 3a92974361033b2051526321308c2740fe5912c0
Date: 2026-09-26T04:55:12.125Z
Layout: IDE
Build Type: Stable
Release Track: Default
Electron: 42.10.0
Chromium: 148.0.7778.280
Node.js: 24.18.1
V8: 14.8.178.38-electron.0
xterm.js: 6.1.0-beta.291
OS: Windows_NT x64 10.0.22631
For AI issues: which model did you use?
No AI involvement.
For AI issues: add Request ID with privacy disabled
No AI issues.
Additional Information
No thanks!
Does this stop you from using Cursor
No - Cursor works, but with this issue