4 ms·
Ask HN: The best way to move an existing long-running process between terminals?
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?
- rndywcks 11y agoscreen has existed for ages...
- eatitraw 11y agoThe 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
- deleted 11y ago[deleted]
- rndywcks 11y agohttps://www.gnu.org/software/screen/ https://www.gnu.org/software/screen/
- eatitraw 11y agoI 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)
- zero_by_divide 11y agoI don't know about "best", but there's RePTYr. https://github.com/nelhage/reptyr https://github.com/nelhage/reptyr
- eatitraw 11y agoThis works sometimes! Thanks