(shell: string, command: string = "", cols: int = 80, rows: int = 24) -> (Session, bool)
Starts shell as an interactive shell, or with -c command when command is nonempty.
The child inherits the environment with TERM=xterm-256color. Call before starting other threads.
Returns false on setup failure. Windows returns unsupported without importing POSIX.
Reads available output: positive byte count, zero for would-block, -1 for EOF/error.
The caller owns buffer. poll_exit separately reports the child's exit status.