I am using subprocess.Popen to run a process in the background. I am interested in collecting the output to its stdout, but the issue is that all the lines end
subprocess.Popen