# types.NewWindowOptions.shellCommand

- **Module:** types.NewWindowOptions
- **Package:** libtmux
- **Language:** TypeScript
- **Kind:** property
- **Source:** https://github.com/libtmux/libtmux-ts/blob/3fe1ca654b81b8cbf4a13b777a001a3298c87a6f/packages/libtmux/src/types.ts#L147
- **Page:** https://libtmux.org/en/ts/latest/reference/types-newwindowoptions-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 window
closes, unless `remain-on-exit` says otherwise.
