nelhage / reptyr

Reparent a running program to a new terminal
MIT License
5.77k stars 216 forks source link

commandline key to send SIGCONT to attached process #82

Open msva opened 7 years ago

msva commented 7 years ago

I think, it will be useful to have a commandline key to send SIGCONT to the attached process, which can be used in such pattern:

1) process runs in, say, tmux or screen 2) user presses ^Z 2.5) user does not type bg to avoid process to write to stolen fds and freezes/crashes because of that 3) user types disown 4) user exits (not detach) tmux/screen (for example, to restart "server" instance for tmux) 5) user enters new tmux/screen instance 6) reptyr -<key> $PID