Skip to content

Commit e5caa33

Browse files
committed
[nextest-runner] close stdin while running list commands
No reason to have stdin open for these.
1 parent 6b51c3d commit e5caa33

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

nextest-runner/src/list/test_list.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -690,8 +690,9 @@ impl<'g> RustTestArtifact<'g> {
690690
&self.package,
691691
&self.non_test_binaries,
692692
);
693-
// Capture stdout and stderr.
693+
// Capture stdout and stderr, and close stdin.
694694
cmd.command_mut()
695+
.stdin(std::process::Stdio::null())
695696
.stdout(std::process::Stdio::piped())
696697
.stderr(std::process::Stdio::piped());
697698

0 commit comments

Comments
 (0)