On my case. Was having the same problem.
I found out that i had to use readyReadStandardError instead of
readyReadStandardOutput.
and readAllStandardError instead of readAllStandardOutput
dont know if its your case.
cheers
R.
On 03/25/2013 06:35 PM, Justin Israel wrote:
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]
<mailto:[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]
<mailto:python_inside_maya%[email protected]>.
To post to this group, send email to
[email protected]
<mailto:[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.
--
////////////////////////////////////
Ricardo Viana
VFX Generalist
--
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.