-
Notifications
You must be signed in to change notification settings - Fork 30.7k
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
Launching built-in pwsh.exe crashes terminal toolbar #201367
Comments
I updated to: |
not clear what's happening - are you using |
@meganrogge Terminal profile? Is it something beyond Visual Studio Code files? If yes, no that I'm aware of it, how can I check it? Most of apps I've installed through Chocolatey tool and I rather use defaults everywhere. If no, I had the issue before even I started editing |
@meganrogge The only thing that comes to mind is the powershell itself - I see this:
when launching Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
Try the new cross-platform PowerShell https://aka.ms/pscore6 when launching |
does disabling shell integration fix it IE |
@meganrogge No. However I just found new information when hovering over terminal on the list before it crashed: |
@meganrogge I think I figured out the issue, you'll decide how to deal with it.
And as you see it doesn't work at least for PowerShell 6.2.3 or 7.2.8
it does work with |
have you at one point manually enabled shell integration? that's all I can imagine if you're saying that disabling our automatic shell integration does not fix it. https://code.visualstudio.com/docs/terminal/shell-integration |
@meganrogge "have you at one point manually enabled shell integration" - if it wasn't rhetorical question, I checked both options in |
Type: Bug

I get following error:
then bottom toolbar with terminal crashes. When I quickly switch to CMD instead of pwsh and inside CMD I launch powershell all works just fine. I was searching for
-noexit
using following command in Visual Studio Code installation directory:Get-ChildItem -Recurse -Filter *.* | Select-String -Pattern "noexit"
and all occurences are somewhere inresources\app\out\vs
and subfolders. I don't want to edit these files manually.VS Code version: Code - Insiders 1.86.0-insider (37fe2d0, 2023-12-15T05:36:59.071Z)
OS version: Windows_NT x64 10.0.19045
Modes:
System Info
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
Extensions (32)
(1 theme extensions excluded)
A/B Experiments
The text was updated successfully, but these errors were encountered: