Re: [python-win32] daemonized child

2009-09-27 Thread Antoine Martin
Elias Fotinis wrote: From: Antoine Martin What is the best way to ensure that a child started with subprocess.Popen does not get killed when its parent terminates on win32? On Linux I can daemonize the child with fork()s and dup2()s But what about windows? You don't have to do anything

[python-win32] daemonized child

2009-09-26 Thread Antoine Martin
Hi list, What is the best way to ensure that a child started with subprocess.Popen does not get killed when its parent terminates on win32? On Linux I can daemonize the child with fork()s and dup2()s But what about windows? What about a child process that I cannot re-write, is there anything I

Re: [python-win32] window events via SetWindowsHookExA

2009-09-18 Thread Antoine Martin
Hi Tim, Tim Roberts wrote: Antoine Martin wrote: I am trying to use SetWindowsHookExA via ctypes to be notified when Windows are mapped/unmapped, to get the same functionality as SUBSTRUCTURE_MASK events on the root X-window (or is there a better way that I have missed?) WH_CALLWNDPROC

[python-win32] window events via SetWindowsHookExA

2009-09-17 Thread Antoine Martin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hi, I am trying to use SetWindowsHookExA via ctypes to be notified when Windows are mapped/unmapped, to get the same functionality as SUBSTRUCTURE_MASK events on the root X-window (or is there a better way that I have missed?) Here is the code: