Crate process_path [] [src]

A Rust library to get the path of the currently executing process.

Example

let path = process_path::get_executable_path();
match path {
    None => println!("The process path could not be determined"),
    Some(path) => println!("{:?}", path)
}

Functions

get_executable_path

Gets the path of the currently running process. If the path cannot be determined, None is returned.