diff options
author | Jesse Luehrs <doy@tozt.net> | 2021-12-30 22:20:13 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2021-12-30 22:20:13 -0500 |
commit | 04b141ae3409c111c65466252e0987e65aab3363 (patch) | |
tree | 2b9b5f6d98bce4cc29830b3b866af867d4359099 /tests/fds_async.rs | |
parent | c193c0364428a29311a8240149485a1cdea3cadf (diff) | |
download | pty-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.rs | 2 |
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(); |