Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [reptyr]

reptyr is a command-line tool to reparent a running program to a new terminal

2
votes
1answer
970 views

Is there a way to reptyr a make process or any process with subprocesses?

Consider the following Makefile. all: yes If I run make and suspend using Ctrl-Z, and then start screen or tmux, followed by an attempt to reptyr, I get the following error. $ reptyr 5328 [-] ...
7
votes
1answer
554 views

Is it possible to add a process to the job list in bash (e.g. to reverse “disown”)?

If I disown a job in bash and change my mind, can I undo it somehow ? If so, taking it further, is it possible to bring an arbitrary process under job control (an acceptable restriction would be that ...
2
votes
1answer
529 views

Attach tmux to pty after reptyr?

I've got reptyr to "open a new pty" by doing: reptyr -L 7969 where 7969 is the PID of rabbitmq-server. The output of reptyr is Opened a new pty: /dev/pts/25 but how do I attach tmux to that pty? ...
3
votes
0answers
334 views

Screen reptyring screen

Having recently discovered reptyr, my first action was to do everything I could to break it. This included reptyring screen into a screen session as follows: $ screen My zshrc cats some stuff here. $...