def METHOD_NAME():
    import ctypes
    # On Windows, the calling process is responsible for giving Kart its own process group ID -
    # which is recommended - but we can't do anything about if they haven't done it properly.
    # But, we do need to handle CTRL-C events - the call below "restores normal processing of CTRL-C events"
    # (ie,  don't ignore them) and this is also inherited by child processes.
    kernel32 = ctypes.WinDLL("kernel32", use_last_error=True)
    if not kernel32.SetConsoleCtrlHandler(None, False):
        L.warning("Error calling SetConsoleCtrlHandler: %s", ctypes.get_last_error())