Rechercher une page de manuel
Test::AutoBuild::Command::Local.3pm
Langue: en
Version: 2007-12-11 (fedora - 01/12/10)
Section: 3 (Bibliothèques de fonctions)
NAME
Test::AutoBuild::Command - A locally executed commandSYNOPSIS
use Test::AutoBuild::Command::Local; my $cmd = Test::AutoBuild::Command::Local->new(cmd => \@cmd, dir => $path); # Execute the command my $status = $counter->run($stdout, $stderr)
METHODS
- my $status = $cmd->run($stdout, $stderr);
- Execute the command sending its STDOUT to <$stdout> and its STDERR to $stderr. The $stdout and $stderr parameters can either contain file paths into which output will be written; be instances of "IO::Handle" to which output will be written, or simply be scalar references to collect the data in memory. If they are undef, then the output will be discarded. The returned $status is the command exit status, typically zero for success, non-zero for failure.
AUTHORS
Daniel Berrange <dan@berrange.com>,COPYRIGHT
Copyright (C) 2007 Daniel BerrangeSEE ALSO
perl(1), Test::AutoBuild, Test::AutoBuild::Runtime, Test::AutoBuild::CommandContenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre