nelhage / reptyr

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

Fix usage on FreeBSD after c6f10c6db3f0 #106

Closed kevans91 closed 4 years ago

kevans91 commented 4 years ago

This commit added a ptrace_wait to reap the dummy before ptrace_detach_child. On FreeBSD, this leaves us stuck waiting on a child that cannot be reaped because ptrace is still attached.

Signed-off-by: Kyle Evans kevans@FreeBSD.org

nelhage commented 4 years ago

Thanks!