--- a/wxPopen.py Thu Mar 06 14:23:04 2008 +0100
+++ b/wxPopen.py Tue Mar 11 10:38:12 2008 +0100
@@ -73,17 +73,19 @@
+ "stdin":subprocess.PIPE, + "stdout":subprocess.PIPE, + "stderr":subprocess.PIPE} if no_gui == True and wx.Platform == '__WXMSW__':
self.startupinfo = subprocess.STARTUPINFO()
self.startupinfo.dwFlags |= subprocess.STARTF_USESHOWWINDOW
+ popenargs["startupinfo"] = self.startupinfo + elif wx.Platform == '__WXGTK__': + popenargs["shell"] = True - self.Proc = subprocess.Popen(self.Command,
- stdin = subprocess.PIPE,
- stdout = subprocess.PIPE,
- #stderr = subprocess.STDOUT,
- stderr = subprocess.PIPE,
- startupinfo = self.startupinfo)
+ self.Proc = subprocess.Popen( self.Command, **popenargs ) self.outt = outputThread(
@@ -99,7 +101,7 @@