The visual studio code terminal is not working.
The shortcut ctrl+"
for the terminal is not working.
Error:
The terminal process terminated with exit code: {0}
The terminal process command
'C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe' failed to launch (exit code: {2})
Try creating an exception rule for winpty-agent.exe in you antivirus program.
File location:
C:\Program Files\Microsoft VS Code\resources\app\node_modules.asar.unpacked\node-pty\build\Release\winpty-agent.exe
If first solution doesnt work for you, you can try to create exception rule for the whole folder where winpty-agent.exe is stored => "realese"
Folder location:
C:\Program Files\Microsoft VS Code\resources\app\node_modules.asar.unpacked\node-pty\build\Release
Update 21.3.2020 I also had to make an exception in malwarebytes for winpty-agent.exe in appdata/local
C:\Users\myusername\AppData\Local\Programs\Microsoft VS Code\resources\app\node_modules.asar.unpacked\node-pty\build\Release\winpty-agent.exe
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With