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

前端 未结 4 2047
情书的邮戳
情书的邮戳 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

    as shown in this Stackoverflow answer to prevent git push to print to STDERR the solution is to call the command witn --porcelain option.

    then, calling

    git push origin master --porcelain

    output goes all to STDOUT

提交回复
热议问题