...
Code Block | ||
---|---|---|
| ||
command > >(tee stdout.log) 2> >(tee stderr.log >&2) |
References
How do I write stderr to a file while using "tee" with a pipe? - http://stackoverflow.com/questions/692000/how-do-i-write-stderr-to-a-file-while-using-tee-with-a-pipe
...
Code Block | ||
---|---|---|
| ||
command > >(tee stdout.log) 2> >(tee stderr.log >&2) |
How do I write stderr to a file while using "tee" with a pipe? - http://stackoverflow.com/questions/692000/how-do-i-write-stderr-to-a-file-while-using-tee-with-a-pipe