Help for this page

Select Code to Download


  1. or download this
    ($output, $errput) = $ssh->capture('blah', 'blah', $object, 'blah', 'b
    +lah');
    
  2. or download this
    my $quoted_object = $ssh->shell_quote($object);
    $cmd = "blah blah $quoted_object blah blah";
    ($output, $errput) = $ssh->capture2($cmd);