按名称、PID或端口号杀死进程
作者:zuiyue-com
#880 in Unix APIs
2KB
rkill_lib 帮助您通过PID/名称/端口号杀死任何进程。
rkill_lib
[dependencies] rkill_lib = "0.1.3"
// kill a process by name/PID rkill_lib::kill_process_by_pid("nginx".to_string());