/// add the directory that contains `rga` to PATH, so ripgrep can find rga-preproc and rga-preproc can find pandoc etc (if we are on Windows where we include dependent binaries)
/// add the directory that contains `rga` to PATH, so rga-preproc can find pandoc etc (if we are on Windows where we include dependent binaries)
fnadd_exe_to_path()-> Fallible<()>{
usestd::env;
letmutexe=env::current_exe().expect("Could not get executable location");