use std::env;
use std::path::PathBuf;
pub type ExecutablePath = PathBuf;
pub fn get_executable_path() -> ExecutablePath {
let executable = env::current_exe().unwrap();
if !executable.exists() {
panic!("The executable does not exist: {:?}", executable);
}
executable
}