win32api.GenerateConsoleCtrlEvent

int = GenerateConsoleCtrlEvent(controlEvent, processGroupId )

Send a specified signal to a console process group that shares the console associated with the calling process.

Parameters

controlEvent : int

Signal to generate.

processGroupId : int

Process group to get signal.

Win32 API References

Search for GenerateConsoleCtrlEvent at msdn, google or google groups.