Expand description
Unsafe syscall wrappers for check-runner process management. Each function includes a // SAFETY: justification block.
Functionsยง
- kill_
process_ group - Send SIGKILL to an entire process group. SAFETY: pgid must be a valid process group ID owned by this session.
- process_
exists - Check if a process exists (kill with signal 0). Returns true if the process exists, false otherwise. SAFETY: pid must be a valid process ID.
- remove_
env - Remove an environment variable from the current process. Only used in test context. SAFETY: var must be a valid C string.
- set_env
- Set an environment variable in the current process. Only used in test context. SAFETY: var and value must be valid C strings.