bug in IPC::Open3 documentation?
authorivan <ivan>
Mon, 6 Mar 2000 15:04:59 +0000 (15:04 +0000)
committerivan <ivan>
Mon, 6 Mar 2000 15:04:59 +0000 (15:04 +0000)
FS/FS/SSH.pm

index 84ac06b..0caae87 100644 (file)
@@ -121,7 +121,8 @@ Connects the supplied filehandles to the ssh process (in batch mode).
 
 sub sshopen3 {
   my($host,$writer,$reader,$error,$command)=@_;
 
 sub sshopen3 {
   my($host,$writer,$reader,$error,$command)=@_;
-  open3($writer,$reader,$error,$ssh,'-o','Batchmode yes',$host,$command);
+  #open3($writer,$reader,$error,$ssh,'-o','Batchmode yes',$host,$command);
+  open3($reader,$writer,$error,$ssh,'-o','Batchmode yes',$host,$command);
 }
 
 sub _yesno {
 }
 
 sub _yesno {