fix: display output and errors

This commit is contained in:
iff 2023-08-08 21:48:29 +02:00
parent 950b5f824d
commit 7ff068236d

View file

@ -198,7 +198,8 @@ pub fn confirm_suggestion(shell: &str, command: &str, highlighted: &str) -> Resu
.arg(shell)
.arg("-c")
.arg(command)
.stdout(Stdio::piped())
.stdout(Stdio::inherit())
.stderr(Stdio::inherit())
.output()
.expect("failed to execute process");