# types.NewWindowOptions.shellCommand

- **Module:** types.NewWindowOptions
- **Package:** @libtmux/libtmux
- **Language:** TypeScript
- **Kind:** property
- **Source:** https://github.com/libtmux/libtmux-ts/blob/2cb93308200da38a26b59876618116850f110607/packages/libtmux/src/types.ts#L147
- **Page:** https://libtmux.org/reference/ts/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.
