cake-build/cake

Tool.Run should make stdout and stderr available on failure

Open

#2460 aperta il 24 gen 2019

Vedi su GitHub
 (4 commenti) (2 reazioni) (0 assegnatari)C# (738 fork)batch import
Help wantedImprovementUp-for-grabs

Metriche repository

Star
 (3742 star)
Metriche merge PR
 (Merge medio 1g 1h) (25 PR mergiate in 30 g)

Descrizione

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.

Guida contributor