Named & Detached Sessions
Create a session attached, or spin one up headless as a background daemon.
What you'll see
rysh create my-session-- create and attach the TUI.rysh create build-bot --detached(or-d) -- spawn a headless daemon; control returns to the prompt.rysh list-sessions-- confirm the headless session is running.rysh attach build-bot-- attach to it later.
Commands shown
rysh create my-session
d
rysh create build-bot --detached
rysh list-sessions
rysh attach build-bot
Keys used
EnterCtrl+o
Transcript
0:00Create a session attached, or spin one up headless as a background daemon.
0:05rysh create my-session builds a fresh session and attaches its TUI right away.
0:15Add --detached, or just -d, and the daemon spawns headlessly -- no TUI, control returns to your prompt.
0:27List your sessions and the headless one is right there, running in the background.
0:36Attach to it whenever you like with rysh attach. Detached now, fully interactive when you need it.
Key takeaway
rysh create makes a session attached, or --detached runs it headlessly as a daemon you attach to later.