【发布时间】:2021-01-06 14:22:37
【问题描述】:
我通常使用 msys2 bash 中的 VSCode。
我在 msys2 终端上得到了一些标准输出或标准错误。
下面是一个例子。
$ 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
当从 PowerShell 执行 VSCode 时,这些日志不会出现。
PS > .\Code.exe
PS >
如何通过从 msys2 bash 执行的 VSCode 禁用这些标准输出或标准错误?
我找不到任何解决方案,因为关于
的信息太多了
在 VSCode 上集成 msys2 bash。
【问题讨论】:
-
我在 powershell v5.x 中获得了该输出。也希望将其关闭。