X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c368d904fc27d35ae1e533155e2154dc496432e4..9fd9e47a93dfcdd99c2722e288a0f28a51ce6f5f:/wxPython/demo/wxProcess.py diff --git a/wxPython/demo/wxProcess.py b/wxPython/demo/wxProcess.py index 4e25bd6e6d..c2ba5ba1ec 100644 --- a/wxPython/demo/wxProcess.py +++ b/wxPython/demo/wxProcess.py @@ -19,7 +19,7 @@ class TestPanel(wxPanel): # Make the controls prompt = wxStaticText(self, -1, 'Command line:') - self.cmd = wxTextCtrl(self, -1, 'python data/echo.py') + self.cmd = wxTextCtrl(self, -1, 'python -u data/echo.py') self.exBtn = wxButton(self, -1, 'Execute') self.out = wxTextCtrl(self, -1, '', style=wxTE_MULTILINE|wxTE_READONLY) @@ -91,8 +91,9 @@ class TestPanel(wxPanel): def OnCloseStream(self, evt): self.log.write('OnCloseStream\n') + #print "b4 CloseOutput" self.process.CloseOutput() - + #print "after CloseOutput" def OnIdle(self, evt): if self.process is not None: