open_server
Source and package
- Qualified name
-
LibTmux. open _server - Module
- LibTmux
- Package
- LibTmux
- Source
- src/lifecycle.jl
-
Methods
Start an isolated foreground tmux daemon with an empty configuration and a unique private socket directory. Validate its reported PID against the spawned child before returning an
OwnedServer. Environment entries are copied and validated; inheritedTMUXandTMUX_PANEare removed. No ambient server is contacted. The temporary directory must permit a socket path under 104 bytes.open_server(; tmux="tmux", env=ENV, timeout=0.9, cancel=nothing)timeoutbounds startup using a monotonic clock;cancelapplies only until startup finishes. Both failure paths reap the daemon. Daemon stderr retains at most 64 KiB; startup and cleanup errors indicate truncated diagnostics. Close the returned handle explicitly, or usewith_serverfor scoped ownership.- Parameters
-
-
tmux="tmux" -
env=ENV(AbstractDict ) -
cancel=nothing(Union{Nothing, CancellationToken })
-
Recorded calls
source callsThe Julia 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.open_server.
tmux command
task materialThe tmux commands behind open_server.
tmux C API
task materialThe C declarations in tmux that implement these commands.
Guides
task materialPages that discuss open_server.