Say I started a long running process with nohup. As predicted, I close the current shell session. I open a new one and then I would like to add the still running process to the foreground (or to the background of the current shell's job control, which ultimately is the same as I could then move it to the foreground.)
Are tools like reptyr the way to go? Or is there a more traditional/recommended way?