in reply to Re^2: How to make `system` not ignore SIG INT in Perl?
in thread How to make `system` not ignore SIG INT in Perl?

I don't know how I could tell whether it worked or not using that example, but I have no reason to believe echo isn't receiving the signal or ignores it.

Replies are listed 'Best First'.
Re^4: How to make `system` not ignore SIG INT in Perl?
by PerlOnTheWay (Monk) on Sep 13, 2011 at 06:02 UTC

    When you press ^C, if it terminates, it works;otherwise it doesn't work.

    It doesn't terminates for me.

      Each terminates in a split second whether you press Ctrl-C or not. I can't tell if Ctrl-C sis killing it or not without inspecting $?.
        I want it to terminate the Perl program whenever I press ^C ...