Hide server CLI on windows (#13936)
This commit is contained in:
@@ -317,9 +317,12 @@ pub fn spawn_command(
|
|||||||
cmd
|
cmd
|
||||||
};
|
};
|
||||||
|
|
||||||
cmd.stdin(Stdio::null())
|
cmd.stdin(Stdio::null());
|
||||||
.stdout(Stdio::piped())
|
cmd.stdout(Stdio::piped());
|
||||||
.stderr(Stdio::piped());
|
cmd.stderr(Stdio::piped());
|
||||||
|
|
||||||
|
#[cfg(windows)]
|
||||||
|
cmd.creation_flags(0x0800_0000);
|
||||||
|
|
||||||
let mut wrap = CommandWrap::from(cmd);
|
let mut wrap = CommandWrap::from(cmd);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user