Can 'screen' grab an existing process and tie itself to it?
- by warren
Scenario:
Started a process that's going to take "a while" to complete outside of screen.
Need to leave the terminal / netowrk hiccups
Process lost
Would be nice if:
Started a process outside of screen
Realize error
Run screen <magic-goes-here> and it grabs the active process to itself
From the man pages and --help info, I don't see a way this can be done.
Is this possible directly with screen? If not, is it possible to change the owning shell of a process, so that the bash (or other shell of your choosing) instance inside screen can have a command run which will change the parent shell of the initial process to itself from the originator?