Skip to main content

is_screen_run_finished

Function is_screen_run_finished 

Source
pub fn is_screen_run_finished(
    listed: bool,
    exit_code_ready: bool,
    unlisted_polls: u32,
) -> bool
Expand description

Whether an attached screen run is over: the session is not in screen -ls and either the exit-code sidecar has content (or none is expected, as for a bare shell) or the grace polls ran out.