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

Program.run/4

Starts an owned application, waits for its result and removes its pane.

Source and package
Qualified name
LibTmux.Program.run/4
Module
LibTmux
Declared in
Program
Package
libtmux
Source
lib/libtmux/program.ex
run(server, target, argv, options \\ []) @spec run( LibTmux.Server.t(), LibTmux.Ref.t(), [binary(), ...], [ option() | {:cleanup_timeout, 1..600_000} ] ) :: {:ok, result()} | {:error, LibTmux.Action.error()}

Description

The timeout covers startup, the application wait and final screen capture. The optional cleanup budget defaults to 2,000 ms and covers cancellation, verified application retirement and pane removal. A timed-out run keeps its primary error and includes the cleanup result in its details. If cleanup is incomplete, the error also retains the accepted handle.

Parameters

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.Program.run/4.

Esc
Search in

Type to search.

Reference previewOpen reference