normalize_working_dir

Function normalize_working_dir 

Source
pub fn normalize_working_dir(raw: &str) -> Option<String>
Expand description

Normalize a user/agent-supplied working directory for use with Command::current_dir: first convert MSYS/Git-Bash POSIX drive paths to native Windows form (see msys_to_windows_path), then expand a leading ~. Returns None for an empty/whitespace input.