Sys::Run - Run commands and handle their output.
use Sys::Run; my $Sys = Sys::Run::->new({ 'logger' => Log::Tree::->new(), }); my $ok = $Sys->run('sleep 60');
Make sure an password-less SSH access to the target is working.
Clear all OS-level (linux) caches.
Run the given command.
Available options: - Logfile - CaptureOutput -- Outfile --- Append - Verbose - Timeout - ReturnRV
Run the given command on the given hostname (maybe localhost).
Run the given command on the remote host.
Available Options: - NoHup - UseSSHAgent - NoSSHStrictHostKeyChecking - SSHOpts - ReturnRV - Retry
Make sure the given (unqalified) binary exists somewhere in the search path.
Make sure the given command is an executeable binary on the remote host.
Run commands and handle output.
Dominik Schulz <tex@cpan.org>
This software is copyright (c) 2012 by Dominik Schulz.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Sys::Run, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Sys::Run
CPAN shell
perl -MCPAN -e shell install Sys::Run
For more information on module installation, please visit the detailed CPAN module installation guide.