NAME
Util::Medley::Spawn - utility methods for system commands
VERSION
version 0.061
SYNOPSIS
...
ATTRIBUTES
confessOnError (optional)
Toggle for to enable/disable confess on error. Default is 1.
METHODS
capture
Executes system command and returns the stdout, stderr, and exit values. Will write to log if enabled.
- usage:
-
($stdout, $stderr, $exit) = $util->capture($cmd, [$stdin], [$wantArrayRef]) ($stdout, $stderr, $exit) = $util->capture(cmd => $cmd, [stdin => $stdin], [wantArrayRef => $wantArrayRef])
- args:
spawn
Executes system command and returns the exit value. Will write to log if enabled.