# types.SplitOptions.shellCommand

- **Module:** types
- **Package:** libtmux
- **Language:** TypeScript
- **Kind:** property
- **Source:** https://github.com/libtmux/libtmux-ts/blob/073b9d7dedad900bff6f5ec0ea47794e40225870/packages/libtmux/src/types.ts#L311
- **Page:** https://libtmux.org/en/ts/latest/reference/types-splitoptions-shellcommand/

A command for tmux to run in place of the default shell.

tmux hands this to a shell, so a whole command line works, and the process
replaces the shell rather than running inside it — when it exits the pane
closes, unless [`remain-on-exit`](/en/tmux/latest/catalog/options/remain-on-exit/) says otherwise.
