Skip to content

Fix: Don’t use executeCommand on python sub-shell for windows. - #24542

Merged
Anthony Kim (anthonykim1) merged 7 commits into
microsoft:mainfrom
anthonykim1:dontECWindowsPython
Dec 4, 2024
Merged

Fix: Don’t use executeCommand on python sub-shell for windows. #24542
Anthony Kim (anthonykim1) merged 7 commits into
microsoft:mainfrom
anthonykim1:dontECWindowsPython

Conversation

@anthonykim1

@anthonykim1 Anthony Kim (anthonykim1) commented Dec 4, 2024

Copy link
Copy Markdown

Related: #24418
Further resolves: #24422
Shell integration does not exist on windows python repl so dont use execute command on python subshell in this case.

This will prevent keyboard interrupt from happening even when setting for shell integration is enabled for python shell (which is currently only supported on mac and linux)

@anthonykim1 Anthony Kim (anthonykim1) added bug Issue identified by VS Code Team member as probable bug area-terminal labels Dec 4, 2024
@anthonykim1 Anthony Kim (anthonykim1) changed the title Dont use executeCommand on python subshell for windows. Fix) Dont use executeCommand on python subshell for windows. Dec 4, 2024
@karthiknadig Karthik Nadig (karthiknadig) changed the title Fix) Dont use executeCommand on python subshell for windows. Fix: Don’t use executeCommand on python sub-shell for windows. Dec 4, 2024
@anthonykim1
Anthony Kim (anthonykim1) marked this pull request as ready for review December 4, 2024 03:46
@anthonykim1
Anthony Kim (anthonykim1) merged commit 4153f7c into microsoft:main Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-terminal bug Issue identified by VS Code Team member as probable bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

KeyboardInterrupt When Running Selection/Line in Python Terminal with 'Shift+Enter'

2 participants