Kill the processes with the group id |process_group_id|.
(process_group_id: int)
| 31 | |
| 32 | |
| 33 | def _kill_process_group(process_group_id: int): |
| 34 | """Kill the processes with the group id |process_group_id|.""" |
| 35 | try: |
| 36 | os.killpg(process_group_id, signal.SIGKILL) |
| 37 | except ProcessLookupError: |
| 38 | pass |
| 39 | |
| 40 | |
| 41 | def _end_process(wrapped_process: WrappedPopen, kill_children: bool): |
no outgoing calls
no test coverage detected