output tu stderr for pipes
This commit is contained in:
1 parent
530d1ae511
commit
f5e8d0d41d
1 file changed
+1
-1
@@ -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=$?
|
||||
|
||||
|
||||
Reference in new issue
Block a user