diff --git a/crates/remote/src/transport/wsl.rs b/crates/remote/src/transport/wsl.rs index 6b386ee361c763e30c9e31c15b47c836ef922dae..160a953129ebd82c357ecbfbb48b3d875f196c3d 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, ] };