On 10/05/2016 14:41, Radim Krčmář wrote: >> > eval $cmdline 2>> $RUNTIME_log_stderr \ >> > | eval tee -a "$RUNTIME_log_stdout" | extract_summary >> > >> > Anything I am missing? >> > >>>> >>> ret=$? > Simple pipeline would not return the return value of `eval $cmdline`, so > it seemed nicer with a redirection. Right... Two more attempts: eval "$cmdline 2>> $RUNTIME_log_stderr > >(tee -a $RUNTIME_log_stdout | extract_summary)" (eval $cmdline) 2> >($RUNTIME_cmd_stderr) > >(tee >($RUNTIME_cmd_stdout) | extract_summary)" (The latter requiring an extra useless uses of cat for test.log). Would any of these work fine? Paolo -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html