diff --git a/src/main.rs b/src/main.rs index e62a7e1..11efd35 100644 --- a/src/main.rs +++ b/src/main.rs @@ -46,7 +46,7 @@ fn main() -> Result<(), Box> { false => { // Relaunch the CLIDE GUI in a separate process. Command::new(std::env::current_exe()?) - .args(&["--gui"]) + .args(&["--gui", root_path.to_str().unwrap()]) .stdout(Stdio::null()) .stderr(Stdio::null()) .stdin(Stdio::null())