From 6a4957588d8fe31ed8e82777b9a8a8feef69c78e Mon Sep 17 00:00:00 2001 From: Shaun Reed Date: Sun, 13 Apr 2025 13:47:12 -0400 Subject: [PATCH] Pass root path to GUI process. --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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())