FusionInventory-Agent
view release on metacpan or search on metacpan
bin/fusioninventory-agent view on Meta::CPAN
=back
=head2 Server target specific options
=over
=item B<-P>, B<--proxy>=I<PROXY>
Use I<PROXY> as HTTP proxy.
By default, the agent uses HTTP_PROXY environment variable.
=item B<-u> I<USER>, B<--user>=I<USER>
Use I<USER> for server authentication.
=item B<-p>, B<--password>=I<PASSWORD>
Use I<PASSWORD> for server authentication.
=item B<--ca-cert-dir>=I<DIRECTORY>
t/lib/FusionInventory/Test/Utils.pm view on Meta::CPAN
return $root_key;
}
sub _binary {
my ($string) = @_;
return pack("C*", map { hex($_) } split (/,/, $string));
}
sub unsetProxyEnvVar {
foreach my $key (qw(http_proxy https_proxy HTTP_PROXY HTTPS_PROXY)) {
delete($ENV{$key});
}
}
sub run_executable {
my ($executable, $args) = @_;
my @args = $args ? split(/\s+/, $args) : ();
run(
[ $EXECUTABLE_NAME, 'bin/' . $executable, @args ],
( run in 1.310 second using v1.01-cache-2.11-cpan-71847e10f99 )