pub unsafe fn find_process_id_by_name(process_name: &str) -> Vec<u32>
Expand description

find the process id by the name you gave , it return a Vec<U32> , if the process is not exist , it will return a empty Vec<u32>

unsafe{
    let aid = tasklist::find_process_id_by_name("cmd.exe");
    println!("{:#?}",aid);
}