Help for this page

Select Code to Download


  1. or download this
    sub shell_quote {
        my $s = @_ ? $_[0] : $_;
    ...
        ssh => $server, $watchdog_cmd;
    
    my $output = `$ssh_cmd`;
    
  2. or download this
    ...
    
    ...
        perl => "-e$watchdog", $timeout, $ssh_cmd;
    
    my $output = `$watchdog_cmd`;