"So, other than the file descriptor exec workaround
(which is really just a fancy way of outputting your process's
STDIN and STDOUT streams to a file and reading from it; completely
contrary to the spirit of having this work naturally) the following
might seem like a reasonable way to "feed" your while loop the
command output (only showing the last lines of the following code
blocks for brevity's sake as we roll through the error
scenarios):"