On 15/11/2016 15:45, Radim Krčmář wrote: > # stdout to {stdout}, stderr to $errors "stderr to $errors and stderr" Please make the change and commit it, no need for v3! Thanks, Paolo > exec {stdout}>&1 > - errors=$("${@}" 2>&1 1>&${stdout}) > + errors=$("${@}" 2> >(tee /dev/stderr) > /dev/fd/$stdout) > ret=$? > exec {stdout}>&- > > if [ "$errors" ]; then > - printf "%s\n" "$errors" >&2 -- 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