# operation_options.CommandPolicy

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

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.
