Pass root path to GUI process.

This commit is contained in:
Shaun Reed 2025-04-13 13:47:12 -04:00
parent f4242f7749
commit 6a4957588d

View File

@ -46,7 +46,7 @@ fn main() -> Result<(), Box<dyn Error>> {
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())