Pexpect getting a defuct process
Jorge Luiz Godoy Filho
godoy at ieee.org
Tue Jan 4 19:30:41 CET 2005
Baillargeon, Sonny, Terça 04 Janeiro 2005 16:16, wrote:
> Nothing...I know that's the default answer but considering I control the
> environment, I can assure you that nothing changed.
I have no reason to doubt you. :-)
Checking pexpect's documentation, and re-reading your code I see that you
have not called "close()". As the documentation says:
Only set wait to false if you know the child will
continue to run after closing the controlling TTY.
Otherwise you will end up with defunct (zombie) processes.
Be seeing you,
Godoy. <godoy at ieee.org>
More information about the Python-list