Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
doy committed Jan 29, 2025
1 parent 3cc7b37 commit fea9151
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions tests/basic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,9 @@ async fn test_cat_async() {

let (mut pty, pts) = pty_process::open().unwrap();
pty.resize(pty_process::Size::new(24, 80)).unwrap();
let mut child = pty_process::Command::new("perl")
.args(["-plE", "BEGIN { $SIG{WINCH} = sub { say 'WINCH' } }"])
.spawn(pts)
.unwrap();
let mut cmd = pty_process::Command::new("perl");
cmd.args(["-plE", "BEGIN { $SIG{WINCH} = sub { say 'WINCH' } }"]);
let mut child = cmd.spawn(pts).unwrap();

let (pty_r, mut pty_w) = pty.split();

Expand Down

0 comments on commit fea9151

Please sign in to comment.