# operation_options.CommandPolicy

- **Module:** operation_options
- **Package:** @libtmux/libtmux
- **Language:** TypeScript
- **Kind:** typealias
- **Source:** https://github.com/libtmux/libtmux-ts/blob/2cb93308200da38a26b59876618116850f110607/packages/workspace/src/operation_options.ts#L9
- **Page:** https://libtmux.org/reference/ts/operation_options-commandpolicy-pqck/

When a pane's `shell_command` entries are sent to it.

`create-only`, the default, sends them only to panes this apply created.
`always` sends them to every pane on every apply.
