Function tasklist::get_proc_path
source · [−]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));
}