[Python-Dev] Re: [Python-checkins] CVS: python/dist/src/Misc NEWS,1.352,1.353
Fri, 01 Feb 2002 13:31:21 +0100
Tim Peters wrote:
> > Wouldn't it be better to use Win32 APIs for this ? That way,
> > other compilers on Windows will have a chance to use the
> > same code.
> I have no reason to believe that other compilers on Windows don't follow MS
> in this respect; they usually seem to ape the same functions, sometimes with
> or without leading underscores, or other trivial name changes. If you want
> to wrestle with the Win32 API, be my guest <wink>.
I'm no Win32 expert, just though that the code in the win32process
module (which is part of win32all) probably already provides code in
Another candidate for Windows emulation would be os.kill().
win32process has TerminateProcess() which could probably be used
for this (no idea however, how you get from a PID to a process handle
Anyway, just a thought...
CEO eGenix.com Software GmbH
Company & Consulting: http://www.egenix.com/
Python Software: http://www.egenix.com/files/python/