I would like to create a pipe in a ksh script (using exec) that pipe\'s to a tee, and sends the output to a pipe.
Current:
#Redirect EVE
Instead of:
exec 1>tee -a ${Log} >&3
do simply:
tee -a ${Log} >&3 &
tee will fork into the background, and will consume the calling process' (i.e. your script's) STDIN as it was at the time that tee forked.
tee