[HN Gopher] How to move a running process into a tmux session
___________________________________________________________________
How to move a running process into a tmux session
Author : s0l1dsnak3123
Score : 25 points
Date : 2022-10-04 20:28 UTC (2 hours ago)
(HTM) web link (xai.sh)
(TXT) w3m dump (xai.sh)
| kennu wrote:
| It's a nice tool (reptyr), but not particularly convenient to
| use, requiring several steps to move the process to the
| background and remembering the PID etc. I do wish this was a more
| streamlined, standard feature of Unix/Linux shells. Something
| like a simple integrated "pushproc"/"popproc" command.
| amelius wrote:
| One problem of course is that you miss the output of the process
| from before you took over control. Perhaps shells could be
| extended to better support this way of using tmux/screen.
|
| By the way another approach is of course to use VNC (e.g. some
| process started in an xterm at work you can access by opening
| your entire desktop at home.)
| johnklos wrote:
| Very cool! I hope this becomes a standard feature of all common
| Unix OSes. Will have to look at what part of this is architecture
| specific so it can be properly abstracted.
___________________________________________________________________
(page generated 2022-10-04 23:00 UTC)