PrivateDaemon
The tmux daemon Server#start() owns, and the directory it lives in.
Source and package
- Qualified name
-
io.github .libtmux. Private Daemon - Package
- io.github.libtmux
- Distribution
- io.github.libtmux:libtmux
- Source
- libtmux/src/main/java/io/github/libtmux/PrivateDaemon.java
-
Description
The daemon runs in the foreground as a child of this JVM (
-D), so its exit is observed on the process rather than inferred from a socket. Its environment has none of the caller's selectors and aTMUX_TMPDIRinside the directory, so a tmux started from a pane without a socket lands under the directory too, where#close()looks for it.
Members8 members
- close Ends the daemon, then any server left under the directory, and removes the directory.
- config The configuration of a client for this daemon.
- deleteTree
- environment The environment the daemon gets: the caller's, without anything that selects a server.
- reap The sweep over the processes it is given, so a test can describe them without starting any.
- reapAbandoned Ends every tmux server under
rootwhose owning JVM is gone, and answers how many ended. Runs while other runs use the same root, so it may only touch abandoned servers. - start Starts a daemon and waits until it answers.
- startOf When a process started, read the same way by every JVM on the machine.