pub fn resolve_shell_invocation( shell: Option<&str>, windows_shell_priority: Option<&[String]>, ) -> Result<ShellInvocation, String>