X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/95bfd958bda8955ac81277c78e5627c926154f39..30e24d9dd5a5abf1c9a375ea259eb239b122b7f7:/wxPython/demo/Process.py?ds=inline diff --git a/wxPython/demo/Process.py b/wxPython/demo/Process.py index af9e4cd9f4..ad6827cc31 100644 --- a/wxPython/demo/Process.py +++ b/wxPython/demo/Process.py @@ -22,7 +22,8 @@ class TestPanel(wx.Panel): self.cmd = wx.TextCtrl(self, -1, 'python -u data/echo.py') self.exBtn = wx.Button(self, -1, 'Execute') - self.out = wx.TextCtrl(self, -1, '', style=wx.TE_MULTILINE|wx.TE_READONLY) + self.out = wx.TextCtrl(self, -1, '', + style=wx.TE_MULTILINE|wx.TE_READONLY|wx.TE_RICH2) self.inp = wx.TextCtrl(self, -1, '', style=wx.TE_PROCESS_ENTER) self.sndBtn = wx.Button(self, -1, 'Send') @@ -158,4 +159,4 @@ child process to exit its main loop. if __name__ == '__main__': import sys,os import run - run.main(['', os.path.basename(sys.argv[0])]) + run.main(['', os.path.basename(sys.argv[0])] + sys.argv[1:])