• Brian Curtin's avatar
    Implement #1220212. Add os.kill support for Windows. · e5aa886b
    Brian Curtin yazdı
    os.kill takes one of two newly added signals, CTRL_C_EVENT and
    CTRL_BREAK_EVENT, or any integer value. The events are a special case
    which work with subprocess console applications which implement a
    special console control handler. Any other value but those two will
    cause os.kill to use TerminateProcess, outright killing the process.
    
    This change adds win_console_handler.py, which is a script to implement
    SetConsoleCtrlHandler and applicable handler function, using ctypes.
    
    subprocess also gets another attribute which is a necessary flag to
    creationflags in Popen in order to send the CTRL events.
    e5aa886b
Adı
Son kayıt (commit)
Son güncelleme
..
VC6 Loading commit data...
VS7.1 Loading commit data...
VS8.0 Loading commit data...
bdist_wininst Loading commit data...
example_nt Loading commit data...
icons Loading commit data...
os2emx Loading commit data...
os2vacpp Loading commit data...
WinMain.c Loading commit data...
_msi.c Loading commit data...
_subprocess.c Loading commit data...
_winreg.c Loading commit data...
config.c Loading commit data...
dl_nt.c Loading commit data...
dllbase_nt.txt Loading commit data...
empty.c Loading commit data...
errmap.h Loading commit data...
errmap.mak Loading commit data...
frozen_dllmain.c Loading commit data...
generrmap.c Loading commit data...
getpathp.c Loading commit data...
icons.mak Loading commit data...
icons.rc Loading commit data...
import_nt.c Loading commit data...
make_versioninfo.c Loading commit data...
msvcrtmodule.c Loading commit data...
py.ico Loading commit data...
pyc.ico Loading commit data...
pycon.ico Loading commit data...
pyconfig.h Loading commit data...
python.mk Loading commit data...
python_exe.rc Loading commit data...
python_nt.rc Loading commit data...
readme.txt Loading commit data...
testpy.py Loading commit data...
w9xpopen.c Loading commit data...
winsound.c Loading commit data...