# 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/842228310449e879ebcaa3f910597757c9dbffd6/libtmux/src/main/java/io/github/libtmux/WindowSpec.java#L122
- **Page:** https://libtmux.org/en/java/latest/reference/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

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