We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9174e5 commit d30b358Copy full SHA for d30b358
cli/src/tunnels/code_server.rs
@@ -606,7 +606,9 @@ impl<'a> ServerBuilder<'a> {
606
// Original issue: https://github.com/microsoft/vscode/issues/184058
607
// Partial fix: https://github.com/microsoft/vscode/pull/184621
608
#[cfg(target_os = "windows")]
609
- let cmd = cmd.creation_flags(winapi::um::winbase::CREATE_NO_WINDOW);
+ let cmd = cmd.creation_flags(
610
+ winapi::um::winbase::CREATE_NO_WINDOW | winapi::um::winbase::CREATE_NEW_PROCESS_GROUP | winapi::um::winbase::CREATE_BREAKAWAY_FROM_JOB,
611
+ );
612
613
let child = cmd
614
.stderr(std::process::Stdio::piped())
0 commit comments