(self, command, working_directory, all_env_variables: dict)
| 13 | |
| 14 | class ProcessWrapper(metaclass=abc.ABCMeta): |
| 15 | def __init__(self, command, working_directory, all_env_variables: dict): |
| 16 | self.process = None |
| 17 | |
| 18 | self.working_directory = working_directory |
| 19 | self.command = command |
| 20 | self.all_env_variables = all_env_variables |
| 21 | |
| 22 | self.finish_listeners = [] |
| 23 | |
| 24 | # output_stream is guaranteed to close not earlier than process exit |
| 25 | self.output_stream = ReplayObservable() |
| 26 | |
| 27 | self.notify_finish_thread = None |
| 28 | |
| 29 | def start(self): |
| 30 | self.start_execution(self.command, self.working_directory) |
nothing calls this directly
no test coverage detected