[python-win32] Server Exectuion Failed
Tim Roberts
timr at probo.com
Thu Nov 12 23:02:58 EST 2020
On Nov 12, 2020, at 12:32 PM, Bob Fang <bobfang1992 at gmail.com> wrote:
>
> I have an application which utilise win32com to control a software (powerworld if you know what it is). Once I have dispatched a new object I can see in task manager there is a new process created which is running and I can call command through the win32com object -- this is what I want to do and suits me well but I noticed two things:
>
> 1. The process I created seems to be persistent and will not die even if I explicitly deleted my object using `del` in Python. Is there a way to fully close the process after I am done with my object?
It’s up to the the application. Out-of-process servers often provide a “close” or “exit” method to tell them to clean up.
—
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.
More information about the python-win32
mailing list