Skip to main content

Module session_open

Module session_open 

Source
Expand description

Logic for opening a local session โ€” a neutral helper shared by the interactive REPL (repl) and the single-shot (oneshot) paths.

Both frontend paths execute files and commands directly on the local machine: fs and shell both use the local backend, and the frontend is marked Frontend::Cli. They depend on this module at the same level, not on each other โ€” this avoids making oneshot depend on the repl module (which would tie oneshot to the repl feature).

Functionsยง

open_session
Opens a session running directly on the local machine (both fs and shell use local backends, frontend is Cli). resume = Some(id) resumes that session; otherwise creates a new one.