libtmux Reference MCP Search
On this page

io.github.libtmux.SessionSpec.SessionSpec.detached

View as Markdown

Module
io.github.libtmux.SessionSpec
Declared in
SessionSpec
Package
io.github.libtmux:libtmux
Source
libtmux/src/main/java/io/github/libtmux/SessionSpec.java
detached ( ) boolean
method [source]
method [source]
detached

Always true, and not a choice.

<p>new-session attaches unless told not to, and attaching needs a terminal — from a process without one it fails with open terminal failed. A library is usually called from something that has no tty, so the session is always created detached. WindowSpec and SplitSpec default the other way, because their commands need no terminal.

0 declared, 0 inherited

Esc

Type to search.