Type Definition probe_c_api::CommandResult
[−]
[src]
type CommandResult = Result<Output>;
Result of compilation and run commands. Currently just an alias for the
standard library types used by std::process
, since in most cases we only
want to know:
Were we able to run the command at all? (If not, we'll have
io::Result::Err(..)
, probably of kindNotFound
orPermissionDenied
.)If so, did the command exit with an error? (Check
status
onprocess::Output
.)And what did the command report? (Check
stdout
andstderr
onprocess::Output
.)