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.

property libtmux-ts latest

SpawnOptions.orphanAfterMs

Have tmux end the program, and remove its pane unless keep is set, this many milliseconds after this process stops renewing a lease on it: after it exits or dies without Program.kill . A live process renews the lease every third of this period. At least 1000; 60000 by default. null takes no lease, for a program meant to outlive this process. Renewals run on the event loop, so a stall longer than this, such as a debugger paused at a breakpoint, ends the program too; raise it, or pass null , there.

Source and package
Qualified name
SpawnOptions.orphanAfterMs
Module
types
Declared in
SpawnOptions
Package
libtmux
Source
packages/libtmux/src/types.ts
orphanAfterMs : number | null
Esc

Type to search.

Reference previewOpen reference