runProgram
Wait for a terminal application, capture its bounded final rendered output,
and clean up before returning a detached result. Cancellation initiates bounded
cleanup. Set executionTimeout for an owning setup/observation
deadline; cleanup has a separate budget. Without it there is no total limit.
Source and package
- Qualified name
-
LibTmux .Server. run Program - Declared in
LibTmux.Server- Package
- libtmux-haskell
- Source
- src/LibTmux/Server.hs
- runProgram :: Server -> Program
Options -> IO ProgramResult
Recorded calls
source callsThe Haskell 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.runProgram.
Referenced declarations
type references 3Types and data runProgram names in its declaration.
- LibTmux.Program.ProgramOptions data type
- LibTmux.Program.ProgramResult data type
- LibTmux.Server.Server data type
tmux command
task materialThe tmux commands behind runProgram.
capture-pane delete-buffer kill-session (when the owned session still exists) new-session resize-window save-buffer set-option wait-for display-message has-session (when an owned creation receipt was retained) tmux C API
task materialThe C declarations in tmux that implement these commands.
cmd_capture_pane_entry cmd_capture_pane_exec cmd_delete_buffer_entry cmd_set_buffer_exec cmd_kill_session_entry cmd_kill_session_exec cmd_new_session_entry cmd_new_session_exec cmd_resize_window_entry cmd_resize_window_exec cmd_save_buffer_entry cmd_save_buffer_exec cmd_set_option_entry cmd_set_option_exec cmd_wait_for_entry cmd_wait_for_exec cmd_display_message_entry cmd_display_message_exec cmd_has_session_entry Each path starts at a function a command runs, which is degree 1. The degree counts steps from there along the path, and each step is a call or a reference: degree 2 is reached from that function, degree 3 from the next, and so on.
Create a session and its first pane
- 1
cmd_new_session_exec - calls → 2
spawn_window - calls → 3
spawn_pane - calls → 4
window_add_pane - calls → 5
window_pane_create
Guides
task materialPages that discuss runProgram.
- Guides