# Libtmux_unix.Client.run

- **Module:** Libtmux_unix
- **Package:** libtmux-unix
- **Language:** OCaml
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-ocaml/blob/205dfda49742592b479247049d186956e4a4cfe9/unix/libtmux_unix.mli#L270
- **Public owner:** Libtmux_unix
- **Page:** https://libtmux.org/en/ocaml/latest/reference/libtmux_unix-client-run/

```
val run :
  ?cancel:Cancellation.t ->
  t -> 'a Libtmux.Command.t -> ('a, Libtmux.Error.t) result
```

Submit and await. Use the two calls separately to retain an operation handle.

## Parameters

- `cancel?` (`Cancellation.t`)
- `arg1` (`t`)
- `arg2` (`'a Libtmux.Command.t`)
