stdbuf -oL -eL ${SERVER} 2>&1 | ${HIVE}
This turns off the 4K buffer that pipes have, and flushes as soon as a line break is found.
edit: See also: how-to-control-buffering-of-pipes-in-bash-scripts
In reply to Re: Redirect Shell Launch to perl script
by FreeBeerReekingMonk
in thread (solved) Redirect Shell Launch to perl script
by delpi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |