libtmux:start-daemon
Start an owned empty-config daemon on a fresh private socket and await readiness. Uses the qualified SBCL/Linux backend and explicit /dev/null configuration. ENVIRONMENT is a finite list/vector of distinct NAME=VALUE strings; omission copies the caller environment, and NIL selects an empty input environment. Tmux selectors, socket activation and launcher controls are removed. Caller locale is preserved; Bash shell metadata is not byte-transparent. Environment values and the native executable remain trusted application configuration. WORKING-DIRECTORY defaults to the captured current directory. The owner creates a fresh directory under TEMPORARY-DIRECTORY (default UIOP's temporary directory). Its canonical ancestors must be owned by this user or root; writable ancestors must have the sticky bit. No existing daemon or endpoint is adopted. TIMEOUT is one startup deadline after input preparation, including version and readiness IPC. OUTPUT-LIMIT must be at least two bytes: half bounds daemon lifetime diagnostics; the remainder bounds version/readiness output. Cleanup adds bounded waits; synchronous setup and scheduling can extend caller wall time. CANCEL-TOKEN affects startup only; after READY, STOP-DAEMON owns cancellation. Signals DAEMON-START-FAILED with the original cause and owner on startup failure.
Source and package
- Qualified name
-
libtmux:start-daemon - Declared in
libtmux- Package
- libtmux
- Source
- src/daemon.lisp
-
Public owner:
libtmuxDescription#
See also:
libtmux:error-daemon,libtmux:open-client,libtmux:stop-daemon,libtmux:with-daemon.- Parameters