[Python-Dev] reading multiline output

Mac Smith macsmith.us at gmail.com
Thu Dec 22 12:10:32 CET 2011


I have started HandBrakeCLI using subprocess.popen but the output is multiline and not terminated with \n so i am not able to read it using readline() while the HandBrakeCLI is running. kindly suggest some alternative. i have attached the output in a file.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: output
Type: application/octet-stream
Size: 4541 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-dev/attachments/20111222/d81b1a30/attachment.obj>
-------------- next part --------------



More information about the Python-Dev mailing list