diff --git a/crates/remote/src/transport/wsl.rs b/crates/remote/src/transport/wsl.rs index 6b386ee361..160a953129 100644 --- a/crates/remote/src/transport/wsl.rs +++ b/crates/remote/src/transport/wsl.rs @@ -400,7 +400,7 @@ impl RemoteConnection for WslRemoteConnection { "--".to_string(), self.shell.clone(), "-c".to_string(), - shlex::try_quote(&script)?.to_string(), + script, ] } else { vec![ @@ -411,7 +411,7 @@ impl RemoteConnection for WslRemoteConnection { "--".to_string(), self.shell.clone(), "-c".to_string(), - shlex::try_quote(&script)?.to_string(), + script, ] };