X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c368d904fc27d35ae1e533155e2154dc496432e4..d3a80c922c7f0932f0b3985846e58ef48e3a6da7:/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: