cake-build/cake

Tool.Run should make stdout and stderr available on failure

Open

#2,460 创建于 2019年1月24日

在 GitHub 查看
 (4 评论) (2 反应) (0 负责人)C# (3,742 star) (738 fork)batch import
Help wantedImprovementUp-for-grabs

描述

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.

贡献者指南