# types.SpawnOptions.keep

- **Module:** types
- **Package:** libtmux
- **Language:** TypeScript
- **Kind:** property
- **Source:** https://github.com/libtmux/libtmux-ts/blob/ad09eaef7ffff40f510989ee0695852c44a31576/packages/libtmux/src/types.ts#L534
- **Page:** https://libtmux.org/en/ts/latest/reference/types-spawnoptions-keep/

Leave the pane in place once the program has ended, showing its output, for a person to read; it is theirs to close. A kept split closes at the next key pressed in it. [`Program.kill`](/en/ts/latest/reference/program-program-kill/) and `await using` still end a running program.
