does it only happen with the "2>&1"? I've never had tee hang on me, but I rarely capture STDERR... Eric On Fri, Nov 30, 2012 at 9:05 AM, kitepilot@kitepilot.com < kitepilot@kitepilot.com> wrote: > This has been bothering me for years now... > Sometimes when I 'tee' a command, like: > ./run_bash_script.sh 2>&1|tee $LOG/tell_me_how_I_did.log > ./run_bash_script.sh finishes and 'tee' never exits... > What is 'tee' waiting for? > Sometimes it really screws up my scripts... :( > ET > ------------------------------**--------------------- > PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.**org > To subscribe, unsubscribe, or to change your mail settings: > http://lists.phxlinux.org/**mailman/listinfo/plug-discuss >