This seems like the most likely explanation to me.

My initial guess was that the problem was output buffering coupled with something causing the script to hang toward the end. But testing that theory doesn't show the buffered output being flushed for such a case.

One thing that I find very annoying is that, by default, Windows considers very small mouse motions to be "drags". Since the typical configuration has the button mounted on a movable mouse, it is quite hard for me to consistently press a mouse button without moving the mouse pointer a couple of pixels. So, by default, my mouse "clicks" often become "drags", which have results much different than were desired.

So every Windows system (with a mouse) that I end up working with for more than a few hours get the following changes applied:

my $Reg; use Win32::TieRegistry( TiedRef => \$Reg, Delimiter => "/", ArrayValue +s => 1 ); $Reg->{"CUser/Control Panel/Desktop//DragHeight"}= 10; $Reg->{"CUser/Control Panel/Desktop//DragWidth"}= 10; $Reg->{"CUser/Control Panel/Mouse//DoubleClickHeight"}= 10; $Reg->{"CUser/Control Panel/Mouse//DoubleClickWidth"}= 10;

(They default to just 4 pixels -- and I think some of them used to default to just 2 pixels.)

A similar change might make your "bug" less frequent.

- tye        


In reply to Re^2: control-C to "jumpstart" windows process (select) by tye
in thread control-C to "jumpstart" windows process by jimt

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.