Can you provide a small generic example that reproduces the problem? We
don't need the production code.
On Mar 26, 2013 4:54 AM, "DayDreamer" <[email protected]> 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
>
> Hey guys, i tried the process,it works in some manner, but it displays the
> output from the process after the whole process is finished and not live as
> it happens in the subprocess.
>
> Code Snippet:-
>
> self.process = QProcess(self)
> self.process.readyReadStandardOutput.connect(self.showProgress)
>
>
> def showProgress(self):
>     print str(self.process.readAllStandardOutput())
>
>
> Sorry, i can't share the full code as it belongs to the studio I working
> in.
>
> Thanks in advance
>
> --
> 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