nelhage / reptyr

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

Temporary child is left as zombie process #95

Closed rohoog closed 5 years ago

rohoog commented 5 years ago

The child of the process to reptyr that was used in the setsid trickery stays as a zombie while the reptyr'ed process is running. This is more like an 'uglyness' than a real problem. It could probably be solved by wait()ing to collect the child's status.

nelhage commented 5 years ago

Hm, interesting. The code does attempt to wait() on the child, so something must be going wrong there. I'm investigating.