SessionSpec.detached
Always true, and not a choice.
Source and package
- Qualified name
-
io.github .libtmux .Session Spec. detached - Package
- io.github.libtmux
- Declared in
SessionSpec- Distribution
- io.github.libtmux:libtmux
- Source
- libtmux/src/main/java/io/github/libtmux/SessionSpec.java
-
Description#
new-sessionattaches unless told not to, and attaching needs a terminal — from a process without one it fails withopen terminal failed. A library is usually called from something that has no tty, so the session is always created detached.WindowSpecandSplitSpecdefault the other way, because their commands need no terminal.