diff options
author | Blaž Hrastnik | 2021-08-16 09:18:50 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2021-08-20 04:48:33 +0000 |
commit | 2094ff1aaf08be492ccf052d189446a2c8a5a15e (patch) | |
tree | 7adbbce5f3bdbfb7c03bdbe5103f1ca4cd39714e /helix-dap/src | |
parent | d39baa3b4e1f5bc1a03533e7b22af0043ec1eac9 (diff) |
Silence TCP client messages on stdout, log them in the future
Diffstat (limited to 'helix-dap/src')
-rw-r--r-- | helix-dap/src/client.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/helix-dap/src/client.rs b/helix-dap/src/client.rs index baf924b9..0f647681 100644 --- a/helix-dap/src/client.rs +++ b/helix-dap/src/client.rs @@ -115,6 +115,10 @@ impl Client { let process = Command::new(cmd) .args(args) .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 .kill_on_drop(true) .spawn()?; |