tee
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
function g_runcmd {
|
||||
|
||||
g_echo "running $@"
|
||||
$@ >$g_tmp/g_runcmd-output 2>&1
|
||||
$@ 2>&1 | tee $g_tmp/g_runcmd-output
|
||||
g_runcmd_exitcode=$?
|
||||
|
||||
g_echo "running $@"
|
||||
|
||||
Reference in New Issue
Block a user