Pass root path to GUI process.
This commit is contained in:
parent
f4242f7749
commit
6a4957588d
@ -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())
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user