If you want to just redirect STDERR to tee, run the following command.
some-command 2> >(tee /var/tmp/output)
Principal Software Engineer/Architect, motorcyclist, drummer, and artist
If you want to just redirect STDERR to tee, run the following command.
some-command 2> >(tee /var/tmp/output)