Skip to main content

kill_process_on_port

Function kill_process_on_port 

Source
pub fn kill_process_on_port(port: u16)
Expand description

Kill the process listening on the given TCP port. Used as a fallback when the stored PID is stale (e.g. Firefox launcher respawn).