Re: [python-win32] Catching SIGBREAK with Python 3.3

2012-11-13 Thread Tim Golden
On 13/11/2012 20:54, Stefan Scherfke wrote: Hi Tim, Am 13.11.2012 um 21:44 schrieb Tim Golden : Possibly unhelpfully, I've just run your code on Python 2.7, 3.3 and 3.4, all of which gave the same output: parent waiting for child child terminating parent terminating This is on WinXP SP3. d

Re: [python-win32] Catching SIGBREAK with Python 3.3

2012-11-13 Thread Stefan Scherfke
Hi Tim, Am 13.11.2012 um 21:44 schrieb Tim Golden : > On 12/11/2012 13:12, Stefan Scherfke wrote: >> Hi all, >> >> recently I’ve been playing around with sending and catching signals on >> Windows. I finally found out how to send and catch a BREAK event. >> >> With Python 2.7(.2), I only need o

Re: [python-win32] Catching SIGBREAK with Python 3.3

2012-11-13 Thread Tim Golden
On 12/11/2012 13:12, Stefan Scherfke wrote: Hi all, recently I’ve been playing around with sending and catching signals on Windows. I finally found out how to send and catch a BREAK event. With Python 2.7(.2), I only need os.kill(pid, signal.CTRL_C_EVENT) and signal.signal(signal.SIGBREAK, hand

Re: [python-win32] check if comserver is registered, no -> install it?

2012-11-13 Thread Tim Roberts
Steffen Frömer wrote: > i have to check, if a comserver-dll is registered in my system. > > comserver is registered via command "regsvr32.exe /i myComServer.dll" > My System is Windows 7 64bit or Windows Server 2008 R2 64 bit. > > Is there a way to check this with python and if the check fails, can

[python-win32] check if comserver is registered, no -> install it?

2012-11-13 Thread Steffen Frömer
Hi, i have to check, if a comserver-dll is registered in my system. comserver is registered via command "regsvr32.exe /i myComServer.dll" My System is Windows 7 64bit or Windows Server 2008 R2 64 bit. Is there a way to check this with python and if the check fails, can i register this? How ca