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.

貢獻者指南