The start() method does allow you to pass an unbuffered flag to the process, 
though I am not seeing any issues when the process is returning small amounts 
of characters slowly over time. They all come in, which makes me wonder if the 
QProcess is already using a small buffer.

On Mar 26, 2013, at 6:08 PM, DayDreamer wrote:

> On Friday, March 22, 2013 8:07:40 PM UTC+5:30, DayDreamer wrote:
>> Hi, i have a Qt Ui(pyQt in use), which on click of a button launches a 
>> subprocess(using Popen) whic is used for rendering of frames, now i need to 
>> update the progress bar in the Ui when each frame renders out,that means i 
>> need to send back some message from the subprocess to the Ui, also i need to 
>> receive a message from the subprocess when the job gets completed.
>> 
>> Kindly help, stuck with this issue.
>> 
>> Thanks in advance
> 
> @ olheiros , you are catching all the errors(exceptions) therefore you need 
> readAllStandardError  i need all the outputs.
> 
> @ Justin, I came across that, it(QProcess) flushing the byteArray to the 
> console when a certain limit is reached, how can i force it to flush the line 
> and not the certain amount of characters.
> 
> Thanx for help, anyways.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Python Programming for Autodesk Maya" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
> 
> 

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to