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

io.github.libtmux.SessionSpec.SessionSpec.detached

Java
  • Python Unavailable
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript Unavailable
  • Rust Unavailable
  • Go Unavailable
  • Java
  • .NET Unavailable
  • C++ Unavailable
  • Swift Unavailable

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.

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.