Method
__init__
(self, executor, command, working_directory, env_variables)
Source from the content-addressed store, hash-verified
| 547 | |
| 548 | class _MockProcessWrapper(ProcessWrapper): |
| 549 | def __init__(self, executor, command, working_directory, env_variables): |
| 550 | super().__init__(command, working_directory, env_variables) |
| 551 | |
| 552 | self.exit_code = None |
| 553 | self.finished = False |
| 554 | self.process_id = int.from_bytes(uuid.uuid1().bytes, byteorder='big') |
| 555 | self.finish_condition = threading.Condition() |
| 556 | |
| 557 | def get_process_id(self): |
| 558 | return self.process_id |
Callers
nothing calls this directly
Tested by
no test coverage detected