aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--helix-term/src/commands.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs
index 468e9814..69870a27 100644
--- a/helix-term/src/commands.rs
+++ b/helix-term/src/commands.rs
@@ -4665,6 +4665,8 @@ fn shell_impl(
if input.is_some() || cfg!(windows) {
process.stdin(Stdio::piped());
+ } else {
+ process.stdin(Stdio::null());
}
let mut process = match process.spawn() {