output tu stderr for pipes
This commit is contained in:
parent
530d1ae511
commit
f5e8d0d41d
@ -2,7 +2,7 @@
|
||||
|
||||
function g_runcmd {
|
||||
set -o pipefail
|
||||
g_echo "running $@"
|
||||
>&2 echo "running $@"
|
||||
$@ 2>&1 | tee $g_tmp/g_runcmd-output
|
||||
g_runcmd_exitcode=$?
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user