Sending Cntrl-C ??

gamename namesagame-usenet at yahoo.com
Wed Apr 30 12:29:56 EDT 2008


>
> > No, Windows doesn't support the same, rich set of signal as Unix OSes.
>
> True but irrelevant to the question.
> To the OP: you can download the pywin32 package from sourceforge, and use
> win32api.GenerateConsoleCtrlEvent(win32con.CTRL_C_EVENT, pgid)
> or call the same function using ctypes.
> Seehttp://msdn.microsoft.com/en-us/library/ms683155(VS.85).aspxfor some
> important remarks.

Thanks, guys.  Good info.
-T



More information about the Python-list mailing list