On 23-Dec-2011, at 6:17 AM, MRAB wrote:

> On 23/12/2011 00:33, Mac Smith wrote:
>> 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.
>> 
> The lines are terminated with \r, so read with read() and then split on
> "\r".

read() will read the complete output and than i will be able to parse it, i 
want to read the output of the command in realtime.

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to