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
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
orscreen
2) user presses^Z
2.5) user does not typebg
to avoid process to write to stolenfd
s and freezes/crashes because of that 3) user typesdisown
4) user exits (not detach)tmux
/screen
(for example, to restart "server" instance fortmux
) 5) user enters newtmux
/screen
instance 6)reptyr -<key> $PID