The present invention relates to managing defunct processes. A parent
process that does not collect exit information associated with a child
process may leave a defunct child process. A defunct child process is
identified. The parent process of the defunct child process is modified.
The parent process can be modified by changing an existing thread or
instantiating a new thread to collect exit information associated with
the child process. Collecting exit information causes the removal of the
defunct child process.