You may plan to exit, but what merlyn is saying is that the backtick operator isn't interruptable. You may be thinking of fork, which lets the parent and the child go their merry ways.

I'm not sure what would happen if the parent caught a signal while waiting for the backtick operation to complete, but it's possible you could interrupt the process there and exit the whole program. The only other possibility that comes to mind is causing a core dump or a segfault, and if you do that, the Perl 5 Porters would probably like to know how.

In short, the backticks operator tells perl "run this program, wait for its output, and give it to me". You're not likely to get it to skip the second and third steps. (By "not likely", I mean, "even if you do find a way, you probably won't like the results.")


In reply to Re: Re: Re: child process killing by chromatic
in thread child process killing by Seshouan

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.