pub fn return_curr_dir() -> String {
    let process = match Command::new("pwd")
        .stderr(Stdio::piped())
        .stdout(Stdio::piped())
        .output()
    {
        Err(why) => panic!("error executing process: {}", why),
        Ok(process) => process,
    };
    let mut path = String::from_utf8_lossy(&process.stdout).to_string();
    path.pop();
    return path;
}
/// PARAMS: none. this function will
/// return the user's current working directory
/// without the '\n' character at the end. 
none. this function will
return the user's current working directory
without the '\n' character at the end.
none . this function will return the user ' s current working directory without the ' \ n ' character at the end .
pub fn return_curr_dir() -> String {
    let process = match Command::new("pwd")
        .stderr(Stdio::piped())
        .stdout(Stdio::piped())
        .output()
    {
        Err(why) => panic!("error executing process: {}", why),
        Ok(process) => process,
    };
    let mut path = String::from_utf8_lossy(&process.stdout).to_string();
    path.pop();
    return path;
}
pub fn return_curr_dir ( ) -> String { let process = match Command :: new ( " " ) . stderr ( Stdio :: piped ( ) ) . stdout ( Stdio :: piped ( ) ) . output ( ) { Err ( why ) => panic ! ( " " why ) , Ok ( process ) => process , } ; let mut path = String :: from_utf8_lossy ( & process . stdout ) . to_string ( ) ; path . pop ( ) ; return path ; }
PARAMS: none.
PARAMS : none .