URL:
<https://savannah.gnu.org/bugs/?60949>
Summary: Screen session closes even though the I/O is still
there
Project: GNU Screen
Submitted by: None
Submitted on: Tue 20 Jul 2021 08:52:27 AM UTC
Category: Crash/Freeze/Infloop
Severity: 3 - Normal
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Release: 4.8.0
Discussion Lock: Any
Fixed Release: None
Planned Release: Later
Work Required: None
_______________________________________________________
Details:
When you start my Java-App via screen and my app tries to self-update, the
screen session just closes in the middle of it.
This is how the self-updater works:
1. Download update-jar into /downloads and make a copy of the downloaded
update-jar also in /downloads
2. Start the update-jar (which detects that it is inside the /downloads dir)
and close itself
NOTE: The I/O never closes because the update-jar inherits it.
This means that on regular windows/ubuntu terminals this works without
problem.
3. The update-jar now replaces the original jar with its copy and starts the
original (now updated) jar
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?60949>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/