Core Library0.xAPI reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

MoreLess about this notice

class libtmux-java

SessionCreation

Assembles the pieces Server#newSession(SessionSpec) needs before tmux has a session yet.

Source and package
Qualified name
io.github.libtmux.SessionCreation
Package
io.github.libtmux
Distribution
io.github.libtmux:libtmux
Source
libtmux/src/main/java/io/github/libtmux/SessionCreation.java
class io.github.libtmux.SessionCreation

Members1 members

  • failureMessage tmux exits 0 even when nothing was created: an explicit -S under a directory that does not exist prints its own error creating ... and still returns success, and a binary that is not tmux at all can exit 0 with nothing on stdout the same way run cannot tell apart from a real session id. Reads tmux's own words when it spoke and names the configured binary when it did not, rather than letting an empty list reach SessionId and throw an unchecked collection exception with neither in it.
Esc
Search in

Type to search.

Reference previewOpen reference