in reply to How to Flush SIGINT on Win32?

Is launching another CMD window to execute the Perl script an option?
@echo off start perl sigint.pl

Replies are listed 'Best First'.
Re^2: How to Flush SIGINT on Win32?
by Anonymous Monk on Jun 09, 2009 at 12:38 UTC
    No, not really. The keyboard handler is integrated into a command line tool that shall be simply called from the command line. For convenience, in order to avoid on Windoze the suffix ".pl", I would like to call the tool from a little batch similar to the example. The console handler even refuses to respond, when started in a new window. It appears that the keyboard is somehow still linked to the old window.
    Anyway, thanks a lot for the hint!
    herqles