Core Library0.xAPI reference

Choose documentation 1

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

MoreLess about this notice

class libtmux-kotlin

Shell

A shell command run by tmux, and a tmux command chosen by a shell command's exit status.

Source and package
Qualified name
io.github.libtmux.kotlin.Shell
Package
io.github.libtmux.kotlin
Distribution
io.github.libtmux:libtmux-kotlin
Source
libtmux-kotlin/src/main/kotlin/io/github/libtmux/kotlin/Shell.kt
public class Shell

Description

Holds the Java handle privately, so a member here always wins over a same-named catalog-generated extension in ShellOperations.kt.

Members8 members

  • asJava property The Java shell this wraps: the same object, for a Java API that takes one.
  • capturing method Runs a shell command and answers with what it printed.
  • choose method Runs one tmux command when a shell command succeeds.
  • equals method
  • hashCode method
  • run method Runs a shell command for its effect.
  • server property
  • toString method
Esc
Search in

Type to search.

Reference previewOpen reference