Core LibraryunreleasedAPI Reference

Choose documentation 2

latest

Current version

latest
English

Unreleased LibTmux has not been released. Its API may change during development. This site's structure and URLs may change too.

method libtmux-perl latest

Server.attach_argv

attach_argv(session => session_id).

Source and package
Qualified name
LibTmux::Server::attach_argv
Module
LibTmux
Declared in
Server
Package
LibTmux
Source
packages/core/lib/LibTmux/Server.pm
sub attach_argv($self, %args)

Description#

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. 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.

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

Methods#

Parameters
Esc

Type to search.

Reference previewOpen reference