Unable to redirect output to file via log.sh

10 views
Skip to first unread message

Zhi Shen

unread,
Jul 18, 2012, 12:07:45 PM7/18/12
to yu-ji...@googlegroups.com
Hi,
 
I'm tring out log.sh and the first issue I have is that I cannot redirect to a file with the standard method.
 
 
./example.sh > example.log  (does not work - creates an empty file)
 
./example.sh > >(tee -a example.log)  (this works)
 
Thanks,
zhi

Yu-Jie Lin

unread,
Jul 22, 2012, 6:43:14 PM7/22/12
to yu-ji...@googlegroups.com
Thanks for reporting the issue. I have created an issue for it and fix it.

Please pull the latest code and check if it resolves the issue in your actual code.

And please continue the discussion on the issue page. Thanks!
Reply all
Reply to author
Forward
0 new messages