namespace Build.Tools; /// /// What an external tool wrote to its standard output, and how it ended. /// /// /// The standard error of the tool went straight to the terminal. A tool which fails says why it failed there, so /// whoever reads the terminal learns the reason from the tool itself. /// /// Everything the tool wrote to its standard output. /// The exit code of the tool, where anything but zero is a failure. public readonly record struct CapturedOutput(string Text, int ExitCode);