Re: [python-win32] daemonized child

2009-09-28 Thread Greg Ewing
Elias Fotinis wrote: From: "Antoine Martin" I had forgotten about the pipes (doh), I guess I should start the child with stdin=stdout=stderr=None then? That won't necessarily close the OS-level file descriptors, though. If you want that, you need to do something like for i in xrange(3):

Re: [python-win32] Windows 7 taskbar api

2009-09-28 Thread Gerdus van Zyl
>You would probably rename the >comtypes.gen._683BF642_E9CA_4124_BE43_67065B2FA653_0_1_0 >to something more sensible > Creating an instance would be easier if you use code like > this which uses the _reg_clsid_ attribute from the generated CoClass:> > from win7taskbar import ITaskbarList3, Taskbar

Re: [python-win32] Windows 7 taskbar api

2009-09-28 Thread Tim Roberts
Gerdus van Zyl wrote: > Thanks to this post > http://www.neowin.net/forum/index.php?s=6352ade29ce66f2b51506c64e455d2f4&showtopic=716968&st=0&p=590434472&#entry590434472 > > I got the idl that I could convert to a typelib and then use > cc.GetModule("taskbar.tlb"); > > The only trouble is you have t

Re: [python-win32] Windows 7 taskbar api

2009-09-28 Thread Thomas Heller
Gerdus van Zyl schrieb: > Thanks to this post > http://www.neowin.net/forum/index.php?s=6352ade29ce66f2b51506c64e455d2f4&showtopic=716968&st=0&p=590434472&#entry590434472 > > I got the idl that I could convert to a typelib and then use > cc.GetModule("taskbar.tlb"); > > The only trouble is you ha

Re: [python-win32] daemonized child

2009-09-28 Thread Elias Fotinis
From: "Antoine Martin" Hah, that's easier than I thought! Sure is. The hard part is terminating a bunch of processes as group (either manually with PIDs or using job objects). I had forgotten about the pipes (doh), I guess I should start the child with stdin=stdout=stderr=None then? Yes,