Why is Powershell ISE showing errors that Powershell console does not show?

前端 未结 4 2051
情书的邮戳
情书的邮戳 2021-02-19 10:32

I\'m running exactly the same script.ps1 file in a Powershell ISE (manually loading the script and pressing F5) and in a Powershell console (executing the script file).

4条回答
  •  你的背包
    2021-02-19 11:14

    So, the example below case have any error , this command -q 2>&1 | %{ "$_" }` will nullifying the result of errors.

    A solution and use: git push -q 2>&1 | %{ "$_" }

提交回复
热议问题