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 b482e98 commit 18fc7f3Copy full SHA for 18fc7f3
tests/basic.rs
@@ -6,9 +6,10 @@ fn test_cat_blocking() {
6
7
let (mut pty, pts) = pty_process::blocking::open().unwrap();
8
pty.resize(pty_process::Size::new(24, 80)).unwrap();
9
- let mut cmd = pty_process::blocking::Command::new("perl");
10
- cmd.args(["-plE", "BEGIN { $SIG{WINCH} = sub { say 'WINCH' } }"]);
11
- let mut child = cmd.spawn(pts).unwrap();
+ let mut child = pty_process::blocking::Command::new("perl")
+ .args(["-plE", "BEGIN { $SIG{WINCH} = sub { say 'WINCH' } }"])
+ .spawn(pts)
12
+ .unwrap();
13
14
pty.write_all(b"foo\n").unwrap();
15
0 commit comments