tunnels: fix command prompt windows show up on windows machine (#192016)

Fixes #190425
This commit is contained in:
Connor Peet 2023-09-01 13:17:58 -07:00 committed by GitHub
parent 2d502be79d
commit 0ee7a576b6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1021,6 +1021,9 @@ where
p.current_dir(cwd);
}
#[cfg(target_os = "windows")]
p.creation_flags(winapi::um::winbase::CREATE_NO_WINDOW);
let mut p = p.spawn().map_err(CodeError::ProcessSpawnFailed)?;
let futs = FuturesUnordered::new();