We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0878925 commit 2de0a5bCopy full SHA for 2de0a5b
1 file changed
tests/by-util/test_tail.rs
@@ -2742,12 +2742,12 @@ fn test_fifo() {
2742
not(target_os = "openbsd")
2743
))]
2744
fn test_fifo_with_pid() {
2745
- use std::process::Command;
+ use std::process::{Command, Stdio};
2746
2747
let (at, mut ucmd) = at_and_ucmd!();
2748
at.mkfifo("FIFO");
2749
2750
- let mut dummy = Command::new("sh").spawn().unwrap();
+ let mut dummy = Command::new("sh").stdin(Stdio::null()).spawn().unwrap();
2751
let pid = dummy.id();
2752
2753
let mut child = ucmd
0 commit comments