problem with VSC ver. 1.95.3 message pwsh.exe noexit

Wojciech Szmańda 0 Reputation points
2024-12-03T11:49:40.34+00:00

While using the VSC application for phyton I encountered an error: Command line: C:\Program Files\PowerShell\7\pwsh.exe '-noexit' '-command' 'try { . "c:\Users\Wojtek\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\contrib\terminal\common\scripts\shellIntegration.ps1" } catch {}' . Phyton applications start without problems but I always get this message. What should I do about it? I don't understand it. Please help.

Regards, WojtekS

Windows 11 pro 24H2

VSC 1.95.3

Powershell 7.4.6

Developer technologies | Visual Studio | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Tianyu Sun-MSFT 34,456 Reputation points Microsoft External Staff
    2024-12-03T14:04:53.53+00:00

    Hello @Wojciech Szmańda,

    Thank you for taking time to post this issue in Microsoft Q&A forum.

    If you try to use powershell.exe instead of pwsh.exe, will this error disappear?

    Here's a similar(maybe) issue: Launching built-in pwsh.exe crashes terminal toolbar for you to refer to.

    Besides, as Visual Studio Code is currently not supported in the Microsoft Q&A forums, if this issue persists, please kindly post this question here: Github - vscode for better help.

    Thanks for your understanding, have a nice day:)

    Best Regards,

    Tianyu


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.