Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Invoke-GitCommand doesn't return exit code or stderror

オープン
#72 コメント 0 件 リアクション 0 件 担当者 1 名 GitHub で見る

@adamskt がすでに取り組んでいます。

2019年9月29日 から。

評価

この issue はまだ評価されていません。

説明

Invoke-GitCommand needs to be changed over to use Start-Process in order to capture the standard error output and the last exit code.

The current work around is to redirect standard error by appending 2>&1 following the call to Invoke-GitCommand. You can also get the $lastexitcode if there is only one command in the $Command parameter of Invoke-GitCommand.

主要言語
PowerShell
スター
10
フォーク
4
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

IntelliTect/PSToolbox のほかの issue

IntelliTect/PSToolbox の issue をすべて見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。