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( Lib
Tmux (), Lib.Server .t Tmux (), [binary(), ...], [ option() | {:cleanup_timeout, 1..600_000} ] ) :: {:ok, result()} | {:error, Lib.Ref .t Tmux ()}.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
-
-
target(LibTmux ()).Ref .t -
options([option() | {:cleanup_timeout, 1..600_000}])Default
[]
Recorded calls
source callsThe 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.