--- rxvt-unicode/doc/rxvt.1.txt 2005/02/17 15:07:48 1.17 +++ rxvt-unicode/doc/rxvt.1.txt 2005/02/18 12:15:07 1.18 @@ -361,8 +361,8 @@ my $pty = new IO::Pty; fcntl $pty, F_SETFD, 0; # clear close-on-exec - system "rxvt -pty-fd " . (fileno $pty) . "&"; + close $pty; # now communicate with rxvt my $slave = $pty->slave;