tmux_server:start_owned/1
Start an empty owned daemon in a fresh private Linux socket directory. Performs I/O and waits for bounded startup; no session or attached observer is created. Returns an ordinary endpoint and a separate ownership/0 token. The caller owns the daemon lifetime: caller death or stop_owned/1 retires its helper tree. close/1 only closes the endpoint and preserves the daemon.
Source and package
- Qualified name
-
tmux_server: start _owned/1 - Declared in
tmux_server- Package
- libtmux_erlang
- Source
- apps/libtmux_erlang/src/tmux_server.erl
- Other languages
- Perl PowerShell Julia Elixir Haskell Common Lisp Python Ruby Lua TypeScript RustGo Java C# C++ Swift Kotlin Scala OCaml F# Clojure
- start_owned(Options) -spec start_owned(owned
_options ()) -> {ok, t(), ownership()} | {error, map()}. -
Description#
The daemon starts without a user config, with
exit-emptydisabled. One idle, unattached bootstrap client keeps the owned helper tree alive. Startup includes readiness and endpoint incarnation binding, not just executable launch. Incomplete cleanup remains explicit; it is never permission to kill by path. An incomplete startup error includes an ownership token and captured resources forstop_owned/1recovery. The token does not serialize across VM lifetimes.- Parameters
-
-
Options(owned_options ()) #
-
tmux command#
The tmux commands behind start_owned/1.
tmux C API#
The C declarations in tmux that implement these commands.
Guides#
Pages that discuss start_owned/1.
In other ports#
Start the server without creating a session
| Language | Equivalent |
|---|---|
| Python | libtmux |
| Haskell | No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing. |
| TypeScript | no equivalent on Server |
| Rust | server |
| Go | tmux |
| Java | no equivalent on Server |
| C# | Lib |
| C++ | no equivalent on Server |
| Swift | Server |
| OCaml | No direct public OCaml equivalent is recorded for this operation. |
| Perl | No dedicated equivalent in the selected Perl surface. Explicit Server::cmd remains available for native tmux commands. |
No equivalent is recorded in Ruby, Lua, PowerShell, Julia, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.