tee
This commit is contained in:
1 parent
18bd919a2e
commit
196b705a5f
1 file changed
+1
-1
@@ -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