]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/wxProcess.py
use specific linker flags under Mac OS X when linking executables against the
[wxWidgets.git] / wxPython / demo / wxProcess.py
index 1138651bc674bb6f1851bdc197e0c88f83f23694..c2ba5ba1ecaf4787af5cfa664dc9c829e7431986 100644 (file)
@@ -19,7 +19,7 @@ class TestPanel(wxPanel):
 
         # Make the controls
         prompt = wxStaticText(self, -1, 'Command line:')
 
         # 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)
         self.exBtn = wxButton(self, -1, 'Execute')
 
         self.out = wxTextCtrl(self, -1, '', style=wxTE_MULTILINE|wxTE_READONLY)
@@ -91,9 +91,9 @@ class TestPanel(wxPanel):
 
     def OnCloseStream(self, evt):
         self.log.write('OnCloseStream\n')
 
     def OnCloseStream(self, evt):
         self.log.write('OnCloseStream\n')
-        print "b4 CloseOutput"
+        #print "b4 CloseOutput"
         self.process.CloseOutput()
         self.process.CloseOutput()
-        print "after CloseOutput"
+        #print "after CloseOutput"
 
     def OnIdle(self, evt):
         if self.process is not None:
 
     def OnIdle(self, evt):
         if self.process is not None: