Re: [python-win32] Killing a subprocess spawned by a service

2013-06-19 Thread Patrick Tisdale
7:51 AM, Patrick Tisdale wrote: Hello list, I have written a test script to run as a service. The service starts up properly, and spawns a subprocess (called test.py) using subprocess.Popen. However, I am having no luck killing the subprocess when I stop the service. I am using os.kill

[python-win32] Killing a subprocess spawned by a service

2013-06-18 Thread Patrick Tisdale
. The script that I actually need to make work is a twisted twistd (.tac) file, which will have multiple TCP connections open, and I need to be able to close those connections before it exits. Any ideas on what I'm missing? Thanks, Patrick Tisdale