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

I provided a minified example in my post,

does ^C work in that case?

  • Comment on Re^2: How to make `system` not ignore SIG INT in Perl?

Replies are listed 'Best First'.
Re^3: How to make `system` not ignore SIG INT in Perl?
by ikegami (Patriarch) on Sep 13, 2011 at 05:54 UTC
    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.

      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 $?.