Tim Peters wrote: > > [MAL] > > 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 this area. 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 on Windows). Anyway, just a thought... -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4