Wednesday, September 16, 2009

How to redirect stdout & stderr to a file using tee?

ant -f build-release.xml dist 2>&1 |tee /tmp/tt

No comments: