Fixed shell not opening in ubuntu linux
mellobacon committed
Oct 6, 2022 at 22:41 UTC
e54d45cd67be17be4fd2009780f6e0d0a8aec685
1 file changed
+1
-1
src-tauri/src/main.rs
+1
-1
@@ -36,7 +36,7 @@ fn open_terminal(path: &str) {
36
}
37
else {
38
Command::new("sh")
39
- .args(["cd", path])
39
+ .args(["gnome-terminal", format!("--working-directory={}", path).as_str()])
40
.spawn()
41
.unwrap();
42
}