Reputation: 45
I usually use VSCode from msys2 bash.
I got some standard output or standard error on msys2 terminal.
Following shows an example.
$ vscode . &
[main 2021-01-06T13:52:08.063Z] update#setState idle
[main 2021-01-06T13:52:38.071Z] update#setState checking for updates
[main 2021-01-06T13:52:38.274Z] update#setState idle
Those logs do not appear when VSCode was executed from PowerShell.
PS > .\Code.exe
PS >
How can I disable those stdout or stderr by VSCode executing from msys2 bash?
I could not find any solution because there are so many information about
integrating msys2 bash on VSCode.
Upvotes: 1
Views: 1186
Reputation: 1939
As suggested in this github issue, try running code.cmd
in ~/AppData/Local/Programs/Microsoft\ VS\ Code/bin
, not Code.exe in the parent folder.
Upvotes: 2