From c86c82120d0ca83a1425778ac58e82c8bf79c73e Mon Sep 17 00:00:00 2001 From: doy Date: Tue, 3 Feb 2009 21:44:15 -0500 Subject: meh, no idea why this is necessary --- lib/IO/Pty/Easy.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/IO/Pty/Easy.pm b/lib/IO/Pty/Easy.pm index d02bbad..fdef28f 100644 --- a/lib/IO/Pty/Easy.pm +++ b/lib/IO/Pty/Easy.pm @@ -255,7 +255,7 @@ sub is_active { return 0 unless defined $self->{pid}; my $active = kill 0 => $self->{pid}; if ($active) { - my $pid = waitpid($self->{pid}, POSIX::WNOHANG); + my $pid = waitpid($self->{pid}, POSIX::WNOHANG()); $active = 0 if $pid == $self->{pid}; } if (!$active) { -- cgit v1.2.3-54-g00ecf