On Wed, Apr 12, 2017 at 10:51 AM, Dennis Lee Bieber <wlfr...@ix.netcom.com> wrote: > On Wed, 12 Apr 2017 09:51:12 -0400, Larry Martell <larry.mart...@gmail.com> > declaimed the following: > > >> >>Anyone know how I can get the external process to terminate when done? >> > > It has... You just haven't cleaned up after it... > > https://en.wikipedia.org/wiki/Zombie_process > > """ > This occurs for child processes, where the entry is still needed to allow > the parent process to read its child's exit status: once the exit status is > read via the wait system call, the zombie's entry is removed from the > process table and it is said to be "reaped". > """
Thanks. I knew that but I had lost the forest for the trees. I added a call to os.waitpid() and now all is well. -- https://mail.python.org/mailman/listinfo/python-list