コード例 #1
0
 def __init__(self, process):
     super(ProcessResult, self).__init__()
     self.process = process
     self.stdout_builder = proc.async_stdout_builder(process)
     # start redirect stderr in initialization, before render() gets called
     proc.async_stream_process_stderr(self.process,
                                      self.renderProcessStdErr)
コード例 #2
0
ファイル: result.py プロジェクト: ashvina/heron
 def __init__(self, process):
   super(ProcessResult, self).__init__()
   self.process = process
   self.stdout_builder = proc.async_stdout_builder(process)
   # start redirect stderr in initialization, before render() gets called
   proc.async_stream_process_stderr(self.process, self.renderProcessStdErr)