# LibTmux.Command.argv/2

- **Module:** LibTmux
- **Package:** libtmux
- **Language:** Elixir
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-elixir/blob/5bacf40788b43a5af27bb3656e727a921ba2db40/lib/libtmux/command.ex#L39
- **Page:** https://libtmux.org/en/elixir/pr-173/reference/libtmux-command-argv-2/

```
argv(command, options \\ [])
@spec argv(t(), [option()]) :: [binary()]
```

Returns process arguments, preserving terminal semicolons in tmux's argv parser.

See the [worked example](api-examples.html#encoding-and-protocol).

## Parameters

- `command` (`t()`)
- `options` (`[option()]`)
  Default: `[]`.

## Guides

Pages that discuss `argv/2`.

- [Command and field encoding](/en/elixir/pr-173/topics/encoding/)
