Documentation
¶
Overview ¶
Package proc discovers and stops running Interseptor processes by image name.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AliveInterseptor ¶
AliveInterseptor reports whether pid is alive *and* is actually running an Interseptor binary (image name "interseptor"/"interseptor.exe"), not some unrelated process that has since reused a recycled PID. Callers that are about to signal/kill a PID they previously recorded (e.g. the launcher's stop/allocatePorts paths) should prefer this over the generic Alive(pid) — on a long-running system PIDs get reused, and a plain liveness check can't tell "our child is still alive" apart from "some other process now has this PID". Falls back to Alive(pid) on platforms/paths where a cheap, per-PID image-name check isn't available (see per-OS implementations).