# io.github.libtmux.PaneStart.PaneStart

- **Module:** io.github.libtmux.PaneStart
- **Package:** io.github.libtmux:libtmux
- **Language:** Java
- **Kind:** interface
- **Source:** https://github.com/libtmux/libtmux-java/blob/c3517519ee799428a809ce6deb1708c8be289cd1/libtmux/src/main/java/io/github/libtmux/PaneStart.java#L12
- **Page:** https://libtmux.org/reference/java/io-github-libtmux-panestart-panestart/

What runs in a new pane.

<p>One choice rather than a command field beside an emptiness flag. tmux refuses the pair —
{@code command cannot be given for empty pane} — and refuses it before spawning anything, so the
combination is not a state the server will ever be in. Sealing it means no value can carry both.

## Members

- `Shell` (struct) — Whatever the session's {@code default-command} or shell is.
- `Command` (struct) — A command, which closes the pane when it exits unless the pane is kept.
- `Empty` (struct) — No process at all. Requires tmux 3.7.
- `shell` (method) — Whatever the session's shell is.
- `command` (method) — A command, which closes the pane when it exits unless the pane is kept.
- `empty` (method) — No process at all. Requires tmux 3.7.
