Commit 39626986 authored by Blaise Li's avatar Blaise Li
Browse files

Sens some pipeline output to stderr.

This allows piping to `dot` when using the `--rulegraph` option.
parent 72f61a20
......@@ -89,7 +89,7 @@ echo ${cmd} > ${log_base}.log
# https://stackoverflow.com/a/692407/1878788
eval ${cmd} > >(tee -a ${log_base}.log) 2> >(tee -a ${log_base}.err >&2) || error_exit "${cmd} failed, see ${log_base}.err"
echo -e "This run started on ${start_day}.\nIf you want to find all older output, you can run the following command:\n${find_older_output}\n(Use -delete instead of -print to remove those files (do this only in case of full output update).)"
echo -e "This run started on ${start_day}.\nIf you want to find all older output, you can run the following command:\n${find_older_output}\n(Use -delete instead of -print to remove those files (do this only in case of full output update).)" 1>&2
exit 0
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment