Core LibraryunreleasedAPI Reference

Choose documentation 1

latest

Current version

latest
English

Unreleased libtmux_erlang has not been released. Its API may change during development. This site's structure and URLs may change too.

function libtmux-erlang latest

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-empty disabled. 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 for stop_owned/1 recovery. The token does not serialize across VM lifetimes.

Parameters

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

Equivalents of Start the server without creating a session in other languages
Language Equivalent
Python libtmux.Server.start_server
Haskell No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.
TypeScript no equivalent on Server
Rust server.Server.start
Go tmux.Server.Start
Java no equivalent on Server
C# LibTmux.Server.StartServerAsync
C++ no equivalent on Server
Swift Server.startServer()
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#.

Esc

Type to search.

Reference previewOpen reference