On this page
io.github.libtmux.SessionSpec.SessionSpec.detached
- Module
- io.github.libtmux.SessionSpec
- Declared in
- SessionSpec
- Package
- io.github.libtmux:libtmux
- Source
- libtmux/src/main/java/io/github/libtmux/SessionSpec.java
-
Always true, and not a choice.
<p>
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.
0 declared, 0 inherited