fix(desktop): start tauri shell commands from home directory (#22535)
This commit is contained in:
@@ -452,6 +452,7 @@ pub fn spawn_command(
|
||||
};
|
||||
|
||||
let mut cmd = Command::new(shell);
|
||||
cmd.current_dir(app.path().home_dir().unwrap());
|
||||
cmd.args(["-l", "-c", &line]);
|
||||
|
||||
for (key, value) in envs {
|
||||
|
||||
Reference in New Issue
Block a user