equal
deleted
inserted
replaced
52 if outchunk == '': outeof = True |
52 if outchunk == '': outeof = True |
53 if self.callback : |
53 if self.callback : |
54 wx.CallAfter(self.callback,outchunk) |
54 wx.CallAfter(self.callback,outchunk) |
55 self.retval=self.Proc.poll() |
55 self.retval=self.Proc.poll() |
56 if self.endcallback: |
56 if self.endcallback: |
57 err = self.Proc.wait() |
57 try: |
|
58 err = self.Proc.wait() |
|
59 except: |
|
60 pass |
58 self.finished = True |
61 self.finished = True |
59 wx.CallAfter(self.endcallback, self.Proc.pid, self.retval) |
62 wx.CallAfter(self.endcallback, self.Proc.pid, self.retval) |
60 |
63 |
61 class ProcessLogger: |
64 class ProcessLogger: |
62 def __init__(self, logger, Command, finish_callback=None, no_stdout=False, no_stderr=False, no_gui=True): |
65 def __init__(self, logger, Command, finish_callback=None, no_stdout=False, no_stderr=False, no_gui=True): |