barkup
barkup copied to clipboard
Log CombinedOutput instead of just Output
Output()
only shows the messages written to stdout
but not stderr
.
Switching to CombinedOutput()
would log both stdout
and stderr
to
result.Error.CmdOutput
.