How do I force subprocess.Popen/os.Popen to write large output directly to file, without holding anything in the buffer ? I tried this:
os.popen(cmd, bufsize=0)
it didn`t help. Any solution of reading all the output (again, large output) and saving it to file/list would help.