The ProcessChannelMode setting lets you specify how QProcess should handle stdout and stderr streams from the running command. http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/qprocess.html#ProcessChannelMode-enum The ForwardedChannels mode tells it to send any output from the command to your main application, so you would see it printed to the command shell. It is completely optional here. These specific commands have no output, but I had left it there when I was testing a Windows-specific sleep command (first trying to use "timeout") to see what the command was saying without needing to read the QProcess specifically.
I do have a blog post, where comments could be directed for the video if this works for you? http://www.justinfx.com/2012/10/12/pyqt4-for-maya/ I am not sure why cmiVFX doesn't have a working forum area. I know they are working on a big revamp right now. On Oct 25, 2012, at 6:08 AM, PixelMuncher <pixeldr...@gmail.com> wrote: > One more question on this topic: > The updated version of blocking.py has > process.setProcessChannelMode(process.ForwardedChannels) > What is that for? > > Also: > Per my previous comments - humor is always risky in electronic > communications, your teaching is excellent, as has been your support on this > forum. Maybe you should setup a forum someplace where questions about the > tutorial can separated into threads, which will make it much easier for > students to find the answers in the long run. > > -- > view archives: http://groups.google.com/group/python_inside_maya > change your subscription settings: > http://groups.google.com/group/python_inside_maya/subscribe -- view archives: http://groups.google.com/group/python_inside_maya change your subscription settings: http://groups.google.com/group/python_inside_maya/subscribe