Help for this page

Select Code to Download


  1. or download this
    my $pid = open CMD, '-|', $command or die $!;
    my $timeout = time() + 10; ## 10 seconds should be enough
    ...
    }
    close CMD;
    return $output;