fn sh_run_try( sh: &OsStr, script: &str, capture: bool, current_dir: Option<&Path>, ) -> Result<Option<String>>