# 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/842228310449e879ebcaa3f910597757c9dbffd6/libtmux/src/main/java/io/github/libtmux/PaneStart.java#L12
- **Page:** https://libtmux.org/en/java/latest/reference/io-github-libtmux-panestart-panestart/

What runs in a new pane.

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.
