# LibTmux::Server::attach_argv

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** Perl
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-perl/blob/352715a4fa66a96eed7763b90daaa536aa2f121d/packages/core/lib/LibTmux/Server.pm#L978
- **Page:** https://libtmux.org/en/perl/latest/reference/libtmux-server-attach_argv/

```
sub attach_argv($self, %args)
```

`attach_argv(session => session_id)`.

Return a fresh literal argument array for a caller-owned interactive terminal without I/O. The session target is a stable ID string; obtain it through [`"id" in LibTmux::Session`](/en/perl/latest/reference/libtmux-session-id/). The caller owns terminal/process setup and exit observation; the bounded capture transport does not allocate a TTY. Invalid inputs throw [`"InvalidArgument" in LibTmux::X`](/en/perl/latest/reference/libtmux-x-invalidargument/).


```perl
    my $argv = $server->attach_argv(session => '$1');
```

## Methods

## Parameters

- `args`
