# io.github.libtmux.transport.TmuxTransport.controlCarrier

- **Module:** io.github.libtmux.transport
- **Package:** io.github.libtmux:libtmux
- **Language:** Java
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-java/blob/c067fced0dfd19bd6dd3d260e9d4c336becdb063/libtmux/src/main/java/io/github/libtmux/transport/TmuxTransport.java#L62
- **Page:** https://libtmux.org/en/java/latest/reference/io-github-libtmux-transport-tmuxtransport-tmuxtransport-controlcarrier/

```
default Optional<ControlCarrier> controlCarrier()
```

How this transport starts a process that stays attached.

Empty when the transport cannot. A command-only fake is in that set, and so is any realm
that has not said how its processes are born. Callers that need a control client then fail
instead of starting one on the local machine.
