develooper Front page | perl.perl5.porters | Postings from April 2007

RE: [PATCH] Allow sending SIGINT to child processes on Windows *if* they are running Perl

Thread Previous
From:
Jan Dubois
Date:
April 19, 2007 09:35
Subject:
RE: [PATCH] Allow sending SIGINT to child processes on Windows *if* they are running Perl
Message ID:
019501c782a0$a7f94d20$f7ebe760$@com
On Thu, 19 Apr 2007, Steve Hay wrote:
> Jan Dubois wrote:
> > In Perl 5.6 it was possible to send SIGINT to child processes on
> > Windows. One problem was that the signal would be delivered to *all*
> > child processes in the same process group. [...] The attached patch
> > re-enables sending SIGINT to console child processes if the child is
> > running Perl and the system is Windows NT or later. This doesn't
> > sound that useful, but it is the best I could come up with.
>
> Thanks, applied as #30979.
>
> Looks pretty useful to me: it's certainly a common case that I've come
> across a few times.

Note that the SendConsoleCtrlEvent() restriction still applies: it will only
work for processes running in the same console.

Cheers,
-Jan


Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About