X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/95bfd958bda8955ac81277c78e5627c926154f39..eee9bf2e5c7cc489bd409dddff7ecba109aa12b9:/wxPython/demo/Process.py 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:])