in reply to (solved) Redirect Shell Launch to perl script
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Redirect Shell Launch to perl script
by delpi (Novice) on Nov 27, 2016 at 18:18 UTC |