# io.github.libtmux.WindowSpec.WindowSpec.argv

- **Module:** io.github.libtmux.WindowSpec.WindowSpec
- **Package:** io.github.libtmux:libtmux
- **Language:** Java
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-java/blob/c3517519ee799428a809ce6deb1708c8be289cd1/libtmux/src/main/java/io/github/libtmux/WindowSpec.java#L117
- **Page:** https://libtmux.org/reference/java/io-github-libtmux-windowspec-windowspec-argv/

```
io.github.libtmux.WindowSpec.WindowSpec.argv(target: String, format: String, running: TmuxVersion) -> List<String>
```

The command that makes this window, reporting it through {@code format}.

## Parameters

- `target` (String) — the session, or the index, to create in
- `format` (String) — the row format the caller will read the result back with
- `running` (TmuxVersion) — the version of the server about to run this

## Raises

- `UnsupportedTmuxVersion` — if the spec asks for something {@code running} does not have
