wei-kill 0.1.3

kill process by name, pid or port number
Documentation

rkill_lib (forked from reflog/rkill)

rkill_lib helps you kill any processes by PID/name/port number.

config

[dependencies]
rkill_lib = "0.1.3"

Usage

// kill a process by name/PID
rkill_lib::kill_process_by_pid("nginx".to_string());