ProgramExit
How a program ended: an exit status or the signal that ended it.
Source and package
- Qualified name
-
ProgramExit - Module
- types
- Package
- libtmux
- Source
- packages/libtmux/src/types.ts
-
Description#
One of the two is set, as for a Node child process:
exitCodefor a program that exited,signalCodefor one a signal ended. A programServer.runorServer.spawnstarted runs under ansh, which cannot tell a signal's death from the program exiting with 128 plus that signal's number, so a program's ownexit 130reads as"SIGINT", as that status means by convention.