Server.start
Starts a private tmux server that this handle owns, and returns a client of it.
Source and package
- Qualified name
-
io.github .libtmux .Server. start - Package
- io.github.libtmux
- Declared in
Server- Distribution
- io.github.libtmux:libtmux
- Source
- libtmux/src/main/java/io/github/libtmux/Server.java
- @Operation(Kind
.LIFECYCLE ) public static Server start(ServerLaunch launch)@Operation(Kind.LIFECYCLE ) public static Server start() -
Description
The server has a directory of its own, reads an empty config unless the launch names one, and gets none of the caller's
TMUX,TMUX_PANEorLIBTMUX_SOCKET*. It has no session, and keeps running with none. Unlike any other server, closing this one ends the tmux server:#close()waits until it no longer answers, removes the directory, and throws if the server still answers or a program left another one under the directory.- Parameters
-
-
launch(ServerLaunch ) – which tmux to run, and where forstart(launch)
-
- Errors
-
-
io
.github – if tmux could not be started or did not answer in time; nothing is left behind for.libtmux .exception .Server Unavailable Exception start(launch)
-
Recorded calls
source callsThe Java 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 io.github.libtmux.Server.start.