Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Invoke-GitCommand doesn't return exit code or stderror

Aperta
#72 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@adamskt ci sta già lavorando.

Dal 29/9/2019.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

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.

Lingua principale
PowerShell
Stelle
10
Fork
4
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di IntelliTect/PSToolbox

Tutte le issue di IntelliTect/PSToolbox

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.