Skip to main content

parse_screen_session_state

Function parse_screen_session_state 

Source
pub fn parse_screen_session_state(
    output: &str,
    session_name: &str,
) -> SessionState
Expand description

Find a session in screen -ls output.

Session names are matched exactly against the <pid>.<name> column so a prefix like “session” never matches “my-session”.