Oh shoot! I started this process outside of tmux, but now I need to go away and it's been running a while, what can I do?
[Ctrl-z] on the process
bg
echo $! # get the PID (1608)
disown
tmux
reptyr 1608
@climagic well explain too that they need to activate it in kernel space to can do. echo 0 > /proc/sys/kernel/yama/ptrace_scope as root or edit the file ..... otherwise that don't work. and for some strange reason it only work with a new tmux instance
(like you do) . in a open one don't let me attach. error in pid tell me.