# io.github.libtmux.transport.CommandRequest.discardStdout

- **Module:** io.github.libtmux.transport
- **Package:** io.github.libtmux:libtmux
- **Language:** Java
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-java/blob/e848ba443ba2a5d2128ea0dfa92918c2379e540d/libtmux/src/main/java/io/github/libtmux/transport/CommandRequest.java
- **Page:** https://libtmux.org/en/java/latest/reference/io-github-libtmux-transport-commandrequest-commandrequest-discardstdout/

```
io.github.libtmux.transport.CommandRequest.discardStdout() -> boolean
```

whether the caller reads only the exit status and standard error. tmux 3.0 and 3.1 keep the client's standard output open after the client exits; a request that needs none of it says so and the transport never opens the pipe. The process transport honours it, so the output is empty; a transport that does not still returns once the process has exited
