Program.sessionName
The session the program runs in: a detached one of its own, removed with it, or with from that pane's session, which loses only the program's window or split. tmux attach -t it to watch the program.
Source and package
- Qualified name
-
Program.session Name - Module
- program
- Declared in
- Program
- Package
- libtmux
- Source
- packages/libtmux/src/program.ts
-
Examples#
await using program = await server.spawn(["sleep", "1"]);program.sessionName.startsWith("libtmux-program-"); // true