mirror of
https://github.com/ilyakooo0/helix.git
synced 2024-11-28 12:42:09 +03:00
Fix conditional setting of stdin handle on Windows (#3379)
* Revert 3121353c6a
* Switch to conditional compilation
* Run formatter
* Switch from conditional compilation to compile-time bool
This commit is contained in:
parent
7559b77d53
commit
21f2affa16
@ -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());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user