in reply to Re: INT signal kills process run with expect, when $SIG{'INT'} is set
in thread INT signal kills process run with expect, when $SIG{'INT'} is set
use warnings; use strict; $SIG{'INT'}=sub {print "Clive Darke rules!\n";}; while (1) { sleep 10000; }
|
|---|