Expand description
Screen-specific isolation helpers extracted from isolation.rs
Constants§
- SCREEN_
UNLISTED_ GRACE_ POLLS - Polls without the session in
screen -lsand without an exit code before the session counts as gone.screen -dmScan return before the session is listed, so a missing session alone is no proof that the command finished; its exit code is written just before the session ends.
Functions§
- get_
screen_ version - Get the installed screen version
- is_
screen_ run_ finished - Whether an attached screen run is over: the session is not in
screen -lsand either the exit-code sidecar has content (or none is expected, as for a bare shell) or the grace polls ran out. - run_
screen_ with_ log_ capture - Run screen with log capture using
-Lflag + screenrc directives (for attached mode without TTY). - start_
detached_ screen_ with_ log_ capture - Start detached screen with live logging to the provided log path.
- supports_
logfile_ option - Check if screen supports the -Logfile option (added in 4.5.1)