stdout,sterr = process.communicate() ?
On Fri, Oct 30, 2009 at 7:11 PM, [email protected] <[email protected]> wrote: > > Hey Everyone, > > I've written a Maya launcher to support maya starting up using > different toolsets for when we have multiple projects. Right now Im > launching maya via a PyQt window that kills itself on button push > (startup), but sets some environment variables before it does. Since > it's exited out of the UI loop, it then launches Maya. > > The line is process = subprocess.Popen([startCommand] ,env=env) > > Question, is there a way to open a terminal window and output maya's > stdout to it? > > Right now there is no console, but some artists want it. Any ideas? > > Cheers, > Shawn > > > --~--~---------~--~----~------------~-------~--~----~ http://groups.google.com/group/python_inside_maya -~----------~----~----~----~------~----~------~--~---
