mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 21:09:43 +00:00
fixes for wsl hosting (#183491)
This commit is contained in:
parent
fb335eb1a0
commit
8242d20803
|
@ -611,6 +611,7 @@ async fn handle_serve(
|
|||
) -> Result<EmptyObject, AnyError> {
|
||||
// fill params.extensions into code_server_args.install_extensions
|
||||
let mut csa = c.code_server_args.clone();
|
||||
csa.connection_token = params.connection_token;
|
||||
csa.install_extensions.extend(params.extensions.into_iter());
|
||||
|
||||
let params_raw = ServerParamsRaw {
|
||||
|
@ -1034,8 +1035,7 @@ async fn handle_spawn_cli(
|
|||
|
||||
// CLI args to spawn a server; contracted with clients that they should _not_ provide these.
|
||||
p.arg("--verbose");
|
||||
p.arg("tunnel");
|
||||
p.arg("stdio");
|
||||
p.arg("command-shell");
|
||||
|
||||
p.envs(¶ms.env);
|
||||
p.stdin(Stdio::piped());
|
||||
|
|
Loading…
Reference in a new issue