Re: [python-win32] windows 2008 services on reboot

2011-06-23 Thread Mark Hammond
On 21/06/2011 8:58 AM, Matt Jibson wrote: I'm using the win32 extensions to install and run a service that can take 10-15 seconds to gracefully shutdown. It successfully receives the shutdown signal, but Windows Server 2008 kills the process before it can shutdown normally. Works fine on Windows

Re: [python-win32] windows 2008 services on reboot

2011-06-20 Thread Chris Fuller
I believe it is possible to catch the shutdown event, cancel it, and send a new one when the service is done cleaning up. Not pretty, but nothing ever is when there's a hardwired timeout involved. On Monday 20 June 2011, Matt Jibson wrote: > I'm using the win32 extensions to install and run a