Ask HN: The best way to move an existing long-running process between terminals?

4 points by eatitraw ↗ HN
Let's say you have a pre-existing long-running process that you want to move between two different terminals(ideally, you'd like to move this process inside a tmux). What would be the most reliable way to do this?

7 comments

[ 4.7 ms ] story [ 34.8 ms ] thread
screen has existed for ages...
The whole point of my question: you have a _pre-existing_ long-running process that you don't want to restart.

I am aware of screen and tmux, in fact, I explicitly mention that I'd like to move the process into a tmux:

> ideally, you'd like to move this process inside a tmux

(comment deleted)
I am aware of screen, and in fact, it'd be nice to move the process into a screen or tmux(and I mention this). The process is long-running, and I'd like to keep it running(instead of killing it and starting in screen/tmux)