Re: reading multiline output

2011-12-22 Thread MRAB
On 23/12/2011 02:05, Mac Smith wrote: On 23-Dec-2011, at 6:48 AM, MRAB wrote: On 23/12/2011 01:07, Mac Smith wrote: 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

Re: reading multiline output

2011-12-22 Thread Mac Smith
On 23-Dec-2011, at 6:48 AM, MRAB wrote: > On 23/12/2011 01:07, Mac Smith wrote: >> >> 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 termin

Re: reading multiline output

2011-12-22 Thread Cameron Simpson
On 23Dec2011 06:37, Mac Smith wrote: | On 23-Dec-2011, at 6:17 AM, MRAB wrote: | > On 23/12/2011 00:33, Mac Smith wrote: | >> 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 H

Re: reading multiline output

2011-12-22 Thread MRAB
On 23/12/2011 01:07, Mac Smith wrote: 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 HandBrakeC

Re: reading multiline output

2011-12-22 Thread Mac Smith
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

Re: reading multiline output

2011-12-22 Thread MRAB
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 fi

reading multiline output

2011-12-22 Thread Mac Smith
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. output Description: Binary dat