My output prints approximately 1 line per second to the terminal, maybe 100-200 lines in total. I've tried to capture the output using tee, but it prints all the lines at the end of the process, not ...
why not use tee? because the terminal rendering of the output makes the application run slower. for some reason, this is not working: application 2>&1 >"$logFile" the output keeps going ...