Show command which failed
This commit is contained in:
parent
ff04316243
commit
53b2759bef
1 changed files with 2 additions and 0 deletions
|
|
@ -45,6 +45,8 @@ fn check_exit_status(
|
|||
.unwrap_or_default(),
|
||||
exit_status.code()
|
||||
);
|
||||
let input = input.iter().map(|i| i.as_ref()).collect::<Vec<&OsStr>>();
|
||||
eprintln!("Command `{:?}` failed", input);
|
||||
if let Some(output) = output {
|
||||
unsafe {
|
||||
let stdout = std::str::from_utf8_unchecked(&output.stdout);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue