NAME
Util::Medley::Spawn - utility methods for system commands
VERSION
version 0.041
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], [wantArrayRefs => $wantArrayRef])
- args:
spawn
Executes system command and returns the exit value. Will write to log if enabled.