I'm trying to execute a process with Popen() and then collect its stdout line by line (not all lines at once after the process finishes) and send each line to the client. So far this code does not do ...
I will start with saying that documentation for subprocess.Popen is not clear. I was using subprocess.run(..., input=..., ...) and needed to monitor other things ...