...
Warning |
---|
I have yet to personally try this. |
Note |
---|
This command will only work in bash which has process substitution. |
Code Block | ||
---|---|---|
| ||
command > >(tee stdout.log) 2> >(tee stderr.log >&2) |
...
How do I write stderr to a file while using "tee" “tee” with a pipe? - http://stackoverflow.com/questions/692000/how-do-i-write-stderr-to-a-file-while-using-tee-with-a-pipe