nelhage / reptyr

Reparent a running program to a new terminal

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

commandline key to send SIGCONT to attached process

msva opened this issue · comments

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