Core Library0.xAPI reference

Choose documentation 1

pr-173

Current version

pr-173
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

MoreLess about this notice

function libtmux-elixir

Server.run/3

Runs one trusted command without attaching; returns bounded output and exit evidence.

Source and package
Qualified name
LibTmux.Server.run/3
Module
LibTmux
Declared in
Server
Package
libtmux
Source
lib/libtmux/server.ex

Description

The options are those of LibTmux.Transport.OneShot.run/3, except :keep_tmux_context and :native_helper, which belong to the descriptor. Raises ArgumentError for a Server built by hand whose socket or socket_name is not nil or a string, or that sets both.

See the worked example.

Recorded calls

source calls
No call edges in the Elixir model.

The Elixir reference records declarations, not calls, so this page shows no callers or callees. That is a limit of the extracted data, not a statement that nothing calls LibTmux.Server.run/3.

Guides

task material

Pages that discuss run/3.

In other ports

task equivalence 10 other ports mapped

Source-verified mappings for Run a tmux command this port does not model. A mapping says these APIs perform the same task. It does not say they share defaults, errors or completion: check each page.

Run a tmux command this port does not model in each port
PortAPIDiffers from Elixir
Elixir LibTmux.Server.run/3
Runs one trusted command without attaching; returns bounded output and exit evidence.
This page
Python libtmux.Server.cmd
Execute tmux command respective of socket name and file, return output.
None recorded in the model
Ruby LibTmux::Server#run
Raw tmux arguments retain tmux's separators and format semantics.
None recorded in the model
Lua libtmux.Server:command
Binds a snapshot record to a live handle of its class.
None recorded in the model
Erlang tmux_server:command/3
Execute one validated command and await its result. Performs I/O. The result preserves stdout, stderr, exit status and cleanup certainty. Use tmux_operation:start/3 to submit without blocking this caller. A timeout or cancellation cannot reverse effects that may already have reached tmux. Values from domain command builders keep their captured endpoint origin. Another endpoint returns different_owner with submitted = false before any native preflight or execution. Raw commands do not carry that origin.
free function
Executes an explicit command value with bounded output and separate outcome and cleanup evidence.
TypeScript server.Server.cmd
Run a tmux command this package does not model.
None recorded in the model
Rust server.Server.cmd
Execute one raw logical tmux command.
async
Go tmux.Server.Cmd
Cmd executes raw tmux arguments and returns caller-owned result slices. A completed nonzero exit remains a result; validation and transport failures return errors. Cancellation cannot prove whether a mutation reached tmux.
None recorded in the model
Java io.github.libtmux.Server.cmd
Runs one tmux command against this server.
3 overloads
Perl LibTmux::Server::cmd
cmd(@literal_arguments).
Checked literal argument vector; no shell wrapper or implicit tmux command list.
Raku LibTmux::Server.command
Execute explicit tmux command syntax in the currently observed daemon.
None recorded in the model
No Haskell equivalent.

No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.

No C# equivalent.

no equivalent on Server

No C++ equivalent.

no equivalent on Server

No Swift equivalent.

no equivalent on Server

No OCaml equivalent.

No direct public OCaml equivalent is recorded for this operation.

No equivalent is recorded in PowerShell, Julia, Common Lisp, Clojure, Kotlin, Scala or F#.

Esc
Search in

Type to search.

Reference previewOpen reference