[Python-Dev] The os module, unix and win32

Guido van Rossum guido at python.org
Fri Jan 9 12:30:54 EST 2004


> As long as the possibility of copying APIs from win32all is being
> entertained, would it be feasible to make os.kill do something meaningful
> on Windows?
> 
> I'm no expert on Windows APIs, but it may be as simple as calling
> win32api.GenerateConsoleCtrlEvent or win32api.TerminateProcess.  (Although
> I seem to remember reading that killing processes externally on Windows is
> something of a thorny issue.  It may corrupt the state of DLLs, or
> something along those lines.)

Clearly, until someone shows up with more expertise, nothing will
happen.

--Guido van Rossum (home page: http://www.python.org/~guido/)



More information about the Python-Dev mailing list