aboutsummaryrefslogtreecommitdiffstats
path: root/tests/fds_async.rs
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2021-12-30 22:20:13 -0500
committerJesse Luehrs <doy@tozt.net>2021-12-30 22:20:13 -0500
commit04b141ae3409c111c65466252e0987e65aab3363 (patch)
tree2b9b5f6d98bce4cc29830b3b866af867d4359099 /tests/fds_async.rs
parentc193c0364428a29311a8240149485a1cdea3cadf (diff)
downloadpty-process-04b141ae3409c111c65466252e0987e65aab3363.tar.gz
pty-process-04b141ae3409c111c65466252e0987e65aab3363.zip
properly handle configuration when calling spawn multiple times
Diffstat (limited to 'tests/fds_async.rs')
-rw-r--r--tests/fds_async.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/fds_async.rs b/tests/fds_async.rs
index 7710789..9e0bc15 100644
--- a/tests/fds_async.rs
+++ b/tests/fds_async.rs
@@ -52,7 +52,7 @@ fn test_fds_async() {
pty.resize(pty_process::Size::new(24, 80)).unwrap();
let mut child = pty_process::Command::new("perl")
.arg("-Efor my $fd (0..255) { open my $fh, \"<&=$fd\"; print $fd if stat $fh }; say")
- .stderr(Some(std::process::Stdio::null()))
+ .stderr(std::process::Stdio::null())
.spawn(&pty)
.unwrap();