reading multiline output

Mac Smith macsmith.us at gmail.com
Thu Dec 22 19:33:12 EST 2011


Hi,


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-list/attachments/20111223/c884513f/attachment.obj>
-------------- next part --------------



--
Thanks

Mac


More information about the Python-list mailing list