cake-build/cake

Tool.Run should make stdout and stderr available on failure

Open

#2.460 aberto em 24 de jan. de 2019

Ver no GitHub
 (4 comments) (2 reactions) (0 assignees)C# (738 forks)batch import
Help wantedImprovementUp-for-grabs

Métricas do repositório

Stars
 (3.742 stars)
Métricas de merge de PR
 (Mesclagem média 1d 1h) (25 fundiu PRs em 30d)

Description

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.

Guia do colaborador