Core Library0.xAPI Reference

Choose documentation 3

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.

class libtmux-java latest

PaneRun

How a command run in a pane with Pane#run() ended, and what it printed.

Source and package
Qualified name
io.github.libtmux.PaneRun
Package
io.github.libtmux
Distribution
io.github.libtmux:libtmux
Source
libtmux/src/main/java/io/github/libtmux/PaneRun.java
class io.github.libtmux.PaneRun ( outcome: Outcome, exitStatus: OptionalInt, output: List<String>, exact: boolean )
Parameters
  • outcome (Outcome) # – why the wait ended

  • exitStatus (OptionalInt) # – the command's exit status, present once it finished and its end was read

  • output (List<String>) # – what the command printed, one element per line, without the plumbing around it. Lines tmux wrapped are rejoined

  • exact (boolean) # – whether the output was cut out between both of its markers, so it is the command's and nothing else. False when the output outgrew the pane's history or the command cleared the screen, or when the command had not finished by the deadline

Members6#

  • exact method whether the output was cut out between both of its markers, so it is the command's and nothing else. False when the output outgrew the pane's history or the command cleared the screen, or when the command had not finished by the deadline
  • exitStatus method the command's exit status, present once it finished and its end was read
  • outcome method why the wait ended
  • Outcome enum Why a run's wait ended.
  • output method what the command printed, one element per line, without the plumbing around it. Lines tmux wrapped are rejoined
  • succeeded method Whether the command finished with status zero.
Esc

Type to search.

Reference previewOpen reference