• 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
..
__init__.py Loading commit data...
dummy.py Loading commit data...
support.py Loading commit data...
test_assertions.py Loading commit data...
test_break.py Loading commit data...
test_case.py Loading commit data...
test_discovery.py Loading commit data...
test_functiontestcase.py Loading commit data...
test_loader.py Loading commit data...
test_program.py Loading commit data...
test_result.py Loading commit data...
test_runner.py Loading commit data...
test_setups.py Loading commit data...
test_skipping.py Loading commit data...
test_suite.py Loading commit data...