Declaration
Session :: struct {
// Nonblocking master descriptor, or -1 when closed. fd: s32 = -1;// Child session leader, or -1 when no child was started. pid: s32 = -1;// True once poll_exit has reaped the child. exited: bool;// Native waitpid status, valid after exited becomes true. status: s32;}A child process and its PTY. Close with close_session; do not copy live sessions.