Index: Doc/faq/windows.rst =================================================================== --- Doc/faq/windows.rst (revision 79528) +++ Doc/faq/windows.rst (working copy) @@ -441,7 +441,7 @@ How do I emulate os.kill() in Windows? -------------------------------------- -To terminate a process, you can use ctypes:: +Prior to Python 2.7 and 3.2, to terminate a process, you can use ctypes:: import ctypes @@ -451,7 +451,12 @@ handle = kernel32.OpenProcess(1, 0, pid) return (0 != kernel32.TerminateProcess(handle, 0)) +In 2.7 and 3.2, :func:`os.kill` is implemented similar to the above function, +with the additional feature of being able to send CTRL+C and CTRL+BREAK +to console subprocesses which are designed to handle those signals. See +:func:`os.kill` for further details. + Why does os.path.isdir() fail on NT shared directories? -------------------------------------------------------