Inner exit status code

Marek Lukács <[email protected]> Tue, 07 May 2024 10:24:49 +0200 (CEST)
Newsgroups gmane.comp.gnu.screen.user
Message-ID <[email protected]>
--=_1ed3d701466841e26d16990d=ed44e413-2931-50a4-a935-a8f1555a1944_=
Content-Type: text/plain;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable

Is it possible to capture last exit status code after screen finished (eg.=
 
environment variable $SCREEN_EXIT_CODE), or copy last status code to scree=
n'
s exit status code, so I can check it using $? ?

--=_1ed3d701466841e26d16990d=ed44e413-2931-50a4-a935-a8f1555a1944_=
Content-Type: text/html;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html><body>Is it possible to capture last exit status code after screen f=
inished (eg. environment variable $SCREEN_EXIT_CODE), or copy last status =
code to screen's exit status code, so I can check it using $? ?<br></body>=
</html>
--=_1ed3d701466841e26d16990d=ed44e413-2931-50a4-a935-a8f1555a1944_=--