Skip to main content

Module command

Module command 

Source
Expand description

std::process::Command 的扩展。

方法统一使用 command_ 前缀。执行失败的错误信息带上命令行、退出码与完整输出, 便于直接展示给用户;探测类方法把「无法执行」与「未成功退出」统一按失败处理。

Traits§

CommandExt
std::process::Command 的扩展。