Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Additional text before the first output line from a Python program in terminal #215737

Open
yoonghm opened this issue Jun 16, 2024 · 1 comment
Open
Assignees

Comments

@yoonghm
Copy link

yoonghm commented Jun 16, 2024

Type: Bug

Create a simple Python program such as:

print("Hello world")
print("Hello VS Code")

Run the program without debugging, the output in VS Code terminal shows

PS D:\MyLesson\Python\FastAPI>  & 'd:\Python\python.exe' 'c:\Users\yhm2\.vscode\extensions\ms-python.debugpy-2024.6.0-win32-x64\bundled\libs\debugpy\adapter/../..\debugpy\launcher' '60780' '--' 'D:\MyLesson\Python\FastAPI\Untitled-1.py'
ed-1.py' ;10a19654-794a-48aa-be32-0db7cf9c4792Hello world
Hello VS Code
PS D:\MyLesson\Python\FastAPI> 

What is ";10a19654-794a-48aa-be32-0db7cf9c4792"?

However, if I close and reopen the same code, and run the the program again without debugging, the problem goes away.

VS Code version: Code 1.90.1 (611f9bf, 2024-06-11T21:01:24.262Z)
OS version: Windows_NT x64 10.0.19045
Modes:

System Info
Item Value
CPUs 12th Gen Intel(R) Core(TM) i7-1260P (8 x 2496)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
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
Load (avg) undefined
Memory (System) 31.71GB (19.18GB free)
Process Argv --crash-reporter-id 2885691e-ec86-4c8c-a361-9fce5d8ea86a
Screen Reader no
VM 0%
Extensions (8)
Extension Author (truncated) Version
Bookmarks ale 13.5.0
debugpy ms- 2024.6.0
python ms- 2024.8.1
vscode-pylance ms- 2024.6.1
typst-lsp nva 0.13.0
rust-analyzer rus 0.3.1995
pdf tom 1.2.2
vscode-lldb vad 1.10.0
A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscoreces:30445986
vscod805:30301674
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
a9j8j154:30646983
962ge761:30959799
pythongtdpath:30769146
welcomedialogc:30910334
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30936856
pythonmypyd1:30879173
2e7ec940:31000449
pythontbext0:30879054
accentitlementsc:30995553
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
jchc7451:31067544
chatpanelt:31048053
dsvsc021:30996838
da93g388:31013173
pythoncenvpt:31062603
a69g1124:31058053
dvdeprecation:31068756
pythonprt:31056678
dwnewjupytercf:31046870

@karthiknadig
Copy link
Member

This looks like issue with shell integration. /cc @Tyriar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants