Previously I've used the communicate method on a Popen object to get the
output and currently I am using QtCore.QProcess with the
readyReadStandardOutput, readyReadStandardError signals to get the output
to display in Qt widgets. I'm using QtCore.QProcess in a situation similar
to your's where I have workers executing mayapy processes.

On Thu, Jan 19, 2017 at 5:34 AM, Marcus Ottosson <[email protected]>
wrote:

> Anyone have experience with getting feedback out of mayapy?
>
> Something like this?
>
> $ mayapy -c "import sys;sys.stdout.write('Hello world!')"
> Hello world!
>
> ​
>
> --
> 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 view this discussion on the web visit https://groups.google.com/d/
> msgid/python_inside_maya/CAFRtmOBAp5CqQ-YTgw9nN97DmyWyyVBuY-
> D6HaPpJakssW8Fig%40mail.gmail.com
> <https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOBAp5CqQ-YTgw9nN97DmyWyyVBuY-D6HaPpJakssW8Fig%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Tony

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CAJhmvsSGvt2gMT-4sh4-RUo1Uo6iiJ02mUrAqQzjpD-f-zt5mQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to