local-exec
Action
Execute a shell command and return stdout/stderr
Syntax
local-exec "ls -la"
execute command (fire and forget)
$output = local-exec "ls -la"
execute command, returns stdout
$output, $error = local-exec "ls -la"
execute command with error handling (returns stdout, stderr)