> win32api.GenerateConsoleCtrlEvent(win32con.CTRL_C_EVENT, pgid) How do you determine the value of 'pgid'?