# Libtmux.Spawn.command

- **Module:** Libtmux
- **Package:** libtmux
- **Language:** OCaml
- **Kind:** enum
- **Source:** https://github.com/libtmux/libtmux-ocaml/blob/205dfda49742592b479247049d186956e4a4cfe9/lib/libtmux.mli#L740
- **Public owner:** Libtmux
- **Page:** https://libtmux.org/en/ocaml/latest/reference/libtmux-spawn-command/

```
type command =
  | Default 
  | Exec of {
  program: string ;
  args: string list } 
  | Shell of string 
```

## Members

### Common operations

- [`Exec`](/en/ocaml/latest/reference/libtmux-spawn-command-exec/) (constant)
- [`Shell`](/en/ocaml/latest/reference/libtmux-spawn-command-shell/) (constant)

### Other members

- [`Default`](/en/ocaml/latest/reference/libtmux-spawn-command-default/) (constant)
