MCPcopy Create free account
hub / github.com/UTD-FAST-Lab/RevBugBench / _kill_process_group

Function _kill_process_group

triage/utils/new_process.py:33–38  ·  view source on GitHub ↗

Kill the processes with the group id |process_group_id|.

(process_group_id: int)

Source from the content-addressed store, hash-verified

31
32
33def _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
41def _end_process(wrapped_process: WrappedPopen, kill_children: bool):

Callers 2

_end_processFunction · 0.85
executeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected