@@ -4559,7 +4559,7 @@ fn shell_impl(
4559 .stdout(Stdio::piped())
4559 .stdout(Stdio::piped())
4560 .stderr(Stdio::piped());
4560 .stderr(Stdio::piped());
4562− if input.is_some() {
4562+ if input.is_some() || cfg!(windows) {
4563 process.stdin(Stdio::piped());
4563 process.stdin(Stdio::piped());