1 2 3 4 5 6 7 8 9
pub(crate) fn configure_no_window(_command: &mut std::process::Command) { #[cfg(windows)] { use std::os::windows::process::CommandExt; const CREATE_NO_WINDOW: u32 = 0x08000000; _command.creation_flags(CREATE_NO_WINDOW); } }