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

mcp.exec.RunView

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

API reference · Markdown

struct mcp.exec.RunView
struct [source]
struct [source]
struct mcp.exec.RunView

What a command did.

Members

pane

pane : String
attribute [source]
attribute [source]
pane

The pane the command ran in.

outcome

outcome : RunOutcome
attribute [source]
attribute [source]
outcome

How the run finished.

exit_status

exit_status : Option<i32>
attribute [source]
attribute [source]
exit_status

The command's exit status, when it completed.

Absent when the run did not complete, and when the command was killed by a signal rather than exiting.

output

output : String
attribute [source]
attribute [source]
output

Everything the command wrote, stdout and stderr interleaved in the order the program wrote them.

This is the raw output stream with escape sequences removed, not the rendered screen: a line redrawn in place, such as a progress bar, repeats. capture_pane shows the screen.

bytes

bytes : usize
attribute [source]
attribute [source]
bytes

How many bytes that was, before any truncation.

truncated

truncated : bool
attribute [source]
attribute [source]
truncated

Whether the output was truncated from the front.

Esc

Type to search.