tee
This commit is contained in:
parent
18bd919a2e
commit
196b705a5f
@ -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 $@"
|
||||
|
Loading…
Reference in New Issue
Block a user