1Test::AutoBuild::CommanUds:e:rLoCcoanlt(r3i)buted Perl DToecsutm:e:nAtuattoiBounild::Command::Local(3)
2
3
4
6 Test::AutoBuild::Command - A locally executed command
7
9 use Test::AutoBuild::Command::Local;
10
11 my $cmd = Test::AutoBuild::Command::Local->new(cmd => \@cmd, dir => $path);
12
13 # Execute the command
14 my $status = $counter->run($stdout, $stderr)
15
17 my $status = $cmd->run($stdout, $stderr);
18 Execute the command sending its STDOUT to <$stdout> and its STDERR
19 to $stderr. The $stdout and $stderr parameters can either contain
20 file paths into which output will be written; be instances of
21 "IO::Handle" to which output will be written, or simply be scalar
22 references to collect the data in memory. If they are undef, then
23 the output will be discarded. The returned $status is the command
24 exit status, typically zero for success, non-zero for failure.
25
27 Daniel Berrange <dan@berrange.com>,
28
30 Copyright (C) 2007 Daniel Berrange
31
33 perl(1), Test::AutoBuild, Test::AutoBuild::Runtime, Test::Auto‐
34 Build::Command
35
36
37
38perl v5.8.8 2007-12-09Test::AutoBuild::Command::Local(3)