pub unsafe fn get_proc_path(pid: u32) -> String
Expand description

get process full path from pid , it will return String which is the location of process.

use tasklist;
unsafe{
    println!("{:?}",tasklist::get_proc_path(1232));
}

OR

use tasklist::info;
unsafe{
    println!("{:?}",info::get_proc_path(1232));
}