ProgramResult
What Server.run reports once the program has ended or been stopped.
Source and package
- Qualified name
-
ProgramResult - Module
- types
- Package
- libtmux
- Source
- packages/libtmux/src/types.ts
Members6#
- lostEnd: boolean property Whether
outputmay lack its end: tmux removed the pane before reading it, or a SIGKILL to the process group left the end unproven. A run that timed out is read before it ends, so this is false andtimedOutsays why. - lostStart: boolean property Whether
outputlacks its start, which scrolled pasthistoryLimit. - output: string property What the program printed, as its terminal shows it, scrollback included: NUL and other control bytes are dropped and wrapped lines joined. For the bytes as written, use
Server.spawnwithstream: true. - stderr: string property What the program wrote to stderr, as written, when
separateStderrwas set. - success: boolean property Whether the program exited with status 0.
- timedOut: boolean property Whether
timeoutMsstopped the program; its exit fields are then null.