cake-build/cake
View on GitHubTool.Run should make stdout and stderr available on failure
Open
#2,460 opened on Jan 24, 2019
Help wantedImprovementUp-for-grabs
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.