We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5a2ed6 commit 21f4c6fCopy full SHA for 21f4c6f
src/lib.rs
@@ -1068,6 +1068,13 @@ fn run(cmd: &mut Command, program: &str) {
1068
Err(e) => fail(&format!("failed to execute command: {}", e)),
1069
};
1070
if !status.success() {
1071
+ if status.code() == Some(127) {
1072
+ fail(&format!(
1073
+ "command did not execute successfully, got: {}, is `{}` not installed?",
1074
+ status,
1075
+ program
1076
+ ));
1077
+ }
1078
fail(&format!(
1079
"command did not execute successfully, got: {}",
1080
status
0 commit comments