From: root Date: Thu, 17 Feb 2005 15:13:47 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=7fe3d50264804ea1ebc7a22a5f5bebb862e9913d;p=dana%2Furxvt.git *** empty log message *** --- diff --git a/doc/pty-fd b/doc/pty-fd index 4d0812ce..cc13261d 100755 --- a/doc/pty-fd +++ b/doc/pty-fd @@ -7,6 +7,7 @@ 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; diff --git a/doc/rxvt.1.pod b/doc/rxvt.1.pod index 1035bc53..3c4d081e 100644 --- a/doc/rxvt.1.pod +++ b/doc/rxvt.1.pod @@ -421,8 +421,8 @@ longer example is in F): my $pty = new IO::Pty; fcntl $pty, F_SETFD, 0; # clear close-on-exec - system "@@RXVT_NAME@@ -pty-fd " . (fileno $pty) . "&"; + close $pty; # now communicate with rxvt my $slave = $pty->slave;