diff --git a/objdiff-gui/src/jobs/objdiff.rs b/objdiff-gui/src/jobs/objdiff.rs index 88f7af1..1cb86b2 100644 --- a/objdiff-gui/src/jobs/objdiff.rs +++ b/objdiff-gui/src/jobs/objdiff.rs @@ -116,6 +116,13 @@ fn run_make_cmd(config: &BuildConfig, cwd: &Path, arg: &Path) -> Result format!("/{}", new_cwd.to_slash_lossy().as_ref()), + Err(_) => cwd.to_string_lossy().to_string(), + }; + command .arg("--cd") .arg(cwd)