Hide server CLI on windows (#13936)
This commit is contained in:
parent
ea2d089db0
commit
d338bd528c
1 changed files with 6 additions and 3 deletions
|
|
@ -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);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue