Interface to executing command, controling its STDIN and getting its STDOUT and STDERR.
new()Arguments:
$executable - path to executable
@arguments - array of arguments to pass
Returns: Command instance
useSTDIN()Arguments: None
Returns: Nothing
setInput()Arguments:
$string - input to pass into program
Returns: Nothing
exec()Arguments: None
Returns: 1 on success, 0 otherwise
getOutput()Arguments: None
Returns: String containing output from command
getError()Arguments: None
Returns: String containing Error Message from command. Maybe be undef if no error has occurred.
getStatus()Arguments: None
Returns: Status code ($?)
GridShib-CA version 0.4.0 ($Id: Command.pm.in,v 1.4 2006/11/05 17:35:54 welch Exp $)