How can we avoid wx's output/error window when running from Maya? Is there any single line command/flag?And can I redirect those info to Maya's script editor, without popping up wx output window?
check this
http://www.wxpython.org/docs/api/wx.App-class.html
RedirectStdio(self, filename) Redirect sys.stdout and sys.stderr to a file or a popup window.