Hide server CLI on windows (#13936)

This commit is contained in:
Brendan Allan
2026-02-17 12:43:25 +08:00
committed by GitHub
parent ea2d089db0
commit d338bd528c

View File

@@ -317,9 +317,12 @@ pub fn spawn_command(
cmd
};
cmd.stdin(Stdio::null())
.stdout(Stdio::piped())
.stderr(Stdio::piped());
cmd.stdin(Stdio::null());
cmd.stdout(Stdio::piped());
cmd.stderr(Stdio::piped());
#[cfg(windows)]
cmd.creation_flags(0x0800_0000);
let mut wrap = CommandWrap::from(cmd);