Skip to content

"Run Python File" while python interpreter is in terminal will type the run command into the python interpreter #25159

Open
@alekcunn

Description

@alekcunn

Type: Bug

This may be a feature?

I had previously left the python interpreter open.

python

I then typed in my script and pushed the "Run Python File" play button in the top right of the editor.

Instead of opening a new powershell instance it typed it into the python interpreter. I believe it previously wouldv'e opened a new terminal

VS Code version: Code 1.99.3 (17baf841131aa23349f217ca7c570c76ee87b957, 2025-04-15T23:18:46.076Z)
OS version: Windows_NT x64 10.0.26100
Modes:

System Info
Item Value
CPUs AMD Ryzen 5 3600X 6-Core Processor (2 x 3793)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: disabled_off
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 31.91GB (22.35GB free)
Process Argv . --crash-reporter-id 083eda17-c95f-4827-8b8a-63e28842fc74
Screen Reader no
VM 0%
Extensions (22)
Extension Author (truncated) Version
npm-intellisense chr 1.4.5
vscode-eslint dba 3.0.10
copilot Git 1.304.1517
copilot-chat Git 0.26.5
vscode-github-actions git 0.27.1
vscode-dotnet-runtime ms- 2.3.3
debugpy ms- 2025.6.0
python ms- 2025.4.0
vscode-pylance ms- 2025.4.1
jupyter ms- 2025.3.0
jupyter-keymap ms- 1.1.2
jupyter-renderers ms- 1.1.0
vscode-jupyter-cell-tags ms- 0.1.9
vscode-jupyter-slideshow ms- 0.1.6
cmake-tools ms- 1.20.53
cpptools ms- 1.24.5
cpptools-extension-pack ms- 1.3.1
hexeditor ms- 1.11.1
live-server ms- 0.4.15
powershell ms- 2025.0.0
vscode-jest Ort 6.4.0
bun-vscode ove 0.0.28

(1 theme extensions excluded)

A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805:30301674
binariesv615:30325510
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
h48ei257:31000450
pythontbext0:30879054
cppperfnew:31000557
dwnewjupyter:31046869
pythonrstrctxt:31112756
nativeloc1:31192215
5fd0e150:31155592
dwcopilot:31170013
6074i472:31201624
dwoutputs:31242946
customenabled:31248079
9064b325:31222308
copilot_t_ci:31222730
e5gg6876:31282496
pythoneinst12:31285622
bgtreat:31268568
4gafe986:31271826
5b33h341:31253271
31787653:31262186
3e8i5726:31271747
996jf627:31283433
usemplatestapi:31288272
7bj51361:31289155
747dc170:31275177
g20af354:31278749
aj953862:31281341

Metadata

Metadata

Labels

area-replbugIssue identified by VS Code Team member as probable buginfo-neededIssue requires more information from postertriage-neededNeeds assignment to the proper sub-team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions