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.

typealias libtmux-ts latest

TmuxCommandResult

What an engine reports back: the process's own exit, not tmux's opinion of it.

Source and package
Qualified name
TmuxCommandResult
Module
engine
Package
libtmux
Source
packages/libtmux/src/engine.ts
type engine.TmuxCommandResult = { readonly cmd: readonly string[]; readonly exitCode: number; readonly signal: string | null; readonly stderr: Uint8Array; readonly stdout: Uint8Array; }

Description#

A returncode of zero and a signal of null together mean tmux ran and answered; either one set means it did not finish, and stderr says why.

Esc

Type to search.

Reference previewOpen reference