From 7ff068236df6fa2dee2149f15b52c0acca982872 Mon Sep 17 00:00:00 2001 From: iff Date: Tue, 8 Aug 2023 21:48:29 +0200 Subject: [PATCH] fix: display output and errors --- src/suggestions.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/suggestions.rs b/src/suggestions.rs index 5cd682a..1cd5ac2 100644 --- a/src/suggestions.rs +++ b/src/suggestions.rs @@ -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");