2 Oct
2003
2 Oct
'03
10:40 p.m.
Dennis Allison wrote at 2003-10-2 00:31 -0700:
I use htmldoc to generate pdf documents connecting to Zope via a simple popen2() call in an external procedure which pipes input to htmldoc and grabs output from htmldoc. The htmldoc process remains in the process table as a zombie and remains there until Zope is restarted.
To avoid persistant zombies, I'll need to not use the factory function, popen2, and do a bit closer management of the process--that is, the parent will need to iexecute a wait on the child (htmldoc) so that when it completes the child process can die.
Do you call "close" on your file objects? Dieter