Skip to content

Commit 8242d20

Browse files
authored
fixes for wsl hosting (microsoft#183491)
1 parent fb335eb commit 8242d20

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cli/src/tunnels/control_server.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -611,6 +611,7 @@ async fn handle_serve(
611611
) -> Result<EmptyObject, AnyError> {
612612
// fill params.extensions into code_server_args.install_extensions
613613
let mut csa = c.code_server_args.clone();
614+
csa.connection_token = params.connection_token;
614615
csa.install_extensions.extend(params.extensions.into_iter());
615616

616617
let params_raw = ServerParamsRaw {
@@ -1034,8 +1035,7 @@ async fn handle_spawn_cli(
10341035

10351036
// CLI args to spawn a server; contracted with clients that they should _not_ provide these.
10361037
p.arg("--verbose");
1037-
p.arg("tunnel");
1038-
p.arg("stdio");
1038+
p.arg("command-shell");
10391039

10401040
p.envs(&params.env);
10411041
p.stdin(Stdio::piped());

0 commit comments

Comments
 (0)