--- a/wxPopen.py Mon Feb 25 16:59:28 2008 +0100
+++ b/wxPopen.py Tue Feb 26 15:04:12 2008 +0100
@@ -81,9 +81,10 @@
cwd = os.getcwd(),
stdin = subprocess.PIPE,
stdout = subprocess.PIPE,
- stderr = subprocess.STDOUT,
+ #stderr = subprocess.STDOUT,
+ stderr = subprocess.PIPE,
startupinfo = self.startupinfo)
-# stderr = subprocess.PIPE)
+
self.outt = outputThread(
self.Proc,
@@ -93,12 +94,12 @@
self.outt.start()
-# self.errt = outputThread(
-# self.Proc,
-# self.Proc.stderr,
-# self.errors)
+ self.errt = outputThread(
+ self.Proc,
+ self.Proc.stderr,
+ self.errors)
#
-# self.errt.start()
+ self.errt.start()
def output(self,v):
self.outdata += v
@@ -123,7 +124,7 @@
def kill(self):
self.outt.killed = True
-# self.errt.killed = True
+ self.errt.killed = True
if wx.Platform == '__WXMSW__':
PROCESS_TERMINATE = 1
handle = ctypes.windll.kernel32.OpenProcess(PROCESS_TERMINATE, False, self.Proc.pid)