Core LibraryalphaAPI Reference

Choose documentation 3

latest

Current version

latest
English

Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

method libtmux-java latest

SessionCreation.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.

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

Description#

A tmux that exits without a word when it cannot create its socket, because the server queues the error and tells the client to exit before the error reaches it, leaves nothing to read. So a silent exit checks the one cause this client can see for itself.

Esc

Type to search.

Reference preview Open reference