diff options
Diffstat (limited to 't/003-subprocess.t')
-rw-r--r-- | t/003-subprocess.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/003-subprocess.t b/t/003-subprocess.t index c5d17bd..352b7b4 100644 --- a/t/003-subprocess.t +++ b/t/003-subprocess.t @@ -18,4 +18,4 @@ unlike($outside_of_pty, qr/ok/, "running outside of pty fails -t checks"); $script .= "sleep 1 while 1;"; $pty->spawn("$^X -e '$script'"); like($pty->read, qr/ok/, "runs subprocess in a pty"); -$pty->kill; +$pty->close; |