When the writing process sends an EAGAIN to the fd, tee dies. We correct this behavior by redirecting the output to a subshell which handles this correctly. Relevant link here: https://serverfault.com/questions/369757/why-is-this-tee-losing-stdout
When the writing process sends an EAGAIN to the fd, tee dies. We correct this behavior by redirecting the output to a subshell which handles this correctly. Relevant link here: https://serverfault.com/questions/369757/why-is-this-tee-losing-stdout