Unnamed repository; edit this file 'description' to name the repository.
Fix conditional setting of stdin handle on Windows (#3379)
* Revert 3121353c6ab2fbc5fced28f075c7fc45b53b661e * Switch to conditional compilation * Run formatter * Switch from conditional compilation to compile-time bool
Kyle L. Davis 2022-08-12
parent 7559b77 · commit 21f2aff
-rw-r--r--helix-term/src/commands.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs
index 17d908a8..f1cc5966 100644
--- a/helix-term/src/commands.rs
+++ b/helix-term/src/commands.rs
@@ -4559,7 +4559,7 @@ fn shell_impl(
.stdout(Stdio::piped())
.stderr(Stdio::piped());
- if input.is_some() {
+ if input.is_some() || cfg!(windows) {
process.stdin(Stdio::piped());
}