From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more

NAME

IPC::ShellCmd::Generic - Chain a generic wrapper-type command

SYNOPSIS

$cmd_obj->chain_prog(
IPC::ShellCmd::Generic->new(
Prog => 'time',
Args => ["-p"],
)
);

DESCRIPTION

IPC::ShellCmd::Generic->new(Prog => $prog, [$opt => $val, ...])

The only external method for this is the constructor. This sets up the various arguments that are going to be used to generate the command-line.

Other methods on this are used by IPC::ShellCmd, but it should only ever be used inside of the chain_prog method on a IPC::ShellCmd object.

Prog REQUIRED

The program to run, eg. tsocks, socksify, time

Args

A set of arguments to the program before passing the command and args

BUGS

I don't know of any, but that doesn't mean they're not there.

AUTHORS

See IPC::ShellCmd for authors.

LICENSE

See IPC::ShellCmd for the license.