terminal: Handle spaces in cwds of remote terminals (#34844)
Closes #34807 Release Notes: - Fixed "Open in terminal" action not working with paths that contain spaces in SSH projects.
This commit is contained in:
parent
3e50d997dd
commit
6ea09beea8
1 changed files with 1 additions and 1 deletions
|
@ -662,7 +662,7 @@ pub fn wrap_for_ssh(
|
|||
|
||||
format!("cd \"$HOME/{trimmed_path}\"; {env_changes} {to_run}")
|
||||
} else {
|
||||
format!("cd {path}; {env_changes} {to_run}")
|
||||
format!("cd \"{path}\"; {env_changes} {to_run}")
|
||||
}
|
||||
} else {
|
||||
format!("cd; {env_changes} {to_run}")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue