cake-build/cake

Tool.Run should make stdout and stderr available on failure

Open

#2.460 geöffnet am 24. Jan. 2019

Auf GitHub ansehen
 (4 Kommentare) (2 Reaktionen) (0 zugewiesene Personen)C# (738 Forks)batch import
Help wantedImprovementUp-for-grabs

Repository-Metriken

Stars
 (3.742 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 1T 1h) (25 gemergte PRs in 30 T)

Beschreibung

Tool.Run and related should make stdout and stderr available so that some analysis is possible on failure. Currently it calls ProcessExitCode which throws a simple CakeException.

Ideally, it would capture stdout and stderr and throw a CakeProcessException, or similar, that has additional properties for exit code, stdout and stderr.

Contributor Guide