Server.execute
execute(argv => arrayref, stdin => bytes?, timeout => seconds?, cancel_fh => handle?).
Source and package
- Qualified name
-
LibTmux:: Server:: execute - Module
- LibTmux
- Declared in
Server- Package
- LibTmux
- Source
- packages/core/lib/LibTmux/Server.pm
-
Description#
Perform one raw command and return
LibTmux::CommandResult, including nonzero exits. stdout and stderr remain separate octet strings. stdin is optional bytes; cancel_fh is borrowed and remains open. Transport failures throw typedLibTmux::Xwith bounded partial output when available.my $result = $server->execute(argv => ['list-sessions']);Methods#