mirror of https://github.com/helix-editor/helix
Silence TCP client messages on stdout, log them in the future
parent
d39baa3b4e
commit
2094ff1aaf
|
@ -115,6 +115,10 @@ impl Client {
|
||||||
let process = Command::new(cmd)
|
let process = Command::new(cmd)
|
||||||
.args(args)
|
.args(args)
|
||||||
.args(port_format.replace("{}", &port.to_string()).split(' '))
|
.args(port_format.replace("{}", &port.to_string()).split(' '))
|
||||||
|
// silence messages
|
||||||
|
.stdin(Stdio::null())
|
||||||
|
.stdout(Stdio::null())
|
||||||
|
.stderr(Stdio::null())
|
||||||
// make sure the process is reaped on drop
|
// make sure the process is reaped on drop
|
||||||
.kill_on_drop(true)
|
.kill_on_drop(true)
|
||||||
.spawn()?;
|
.spawn()?;
|
||||||
|
|
Loading…
Reference in New Issue