--- rxvt-unicode/doc/rxvt.1.html 2005/02/17 15:07:48 1.17 +++ rxvt-unicode/doc/rxvt.1.html 2005/02/18 12:15:07 1.18 @@ -582,11 +582,9 @@
    my $pty = new IO::Pty;
-   fcntl $pty, F_SETFD, 0; # clear close-on-exec
-
-
-
-   system "rxvt -pty-fd " . (fileno $pty) . "&";
+ fcntl $pty, F_SETFD, 0; # clear close-on-exec + system "rxvt -pty-fd " . (fileno $pty) . "&"; + close $pty;