debugger: Fix the terminal popping up when the Rust debugger starts on Windows (#35125)
This PR fixs a terminal popping up when debugging Rust on Windows. Release Notes: - N/A --------- Co-authored-by: 张小白 <364772080@qq.com>
This commit is contained in:
parent
c2fc70eef7
commit
5e2da042ef
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@ impl DapLocator for CargoLocator {
|
|||
.chain(Some("--message-format=json".to_owned()))
|
||||
.collect(),
|
||||
);
|
||||
let mut child = Command::new(program)
|
||||
let mut child = util::command::new_smol_command(program)
|
||||
.args(args)
|
||||
.envs(build_config.env.iter().map(|(k, v)| (k.clone(), v.clone())))
|
||||
.current_dir(cwd)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue