--. The question raised by the OP was entirely legitimate, presented clearly, with fairly complete code (except neglecting to say what the external command was), and with reference to an earlier question by the same poster. I see no fault in it other than a failure to use <code> tags which is not the most severe crime on the book.

Moreover, there is not the slightest indication that this is a homework problem, nor is Anonymous Monk asking us to solve his or her problem from scratch, which is usually the hallmark of such questions.

I should also add some that people have genuine and valid reasons for posting anonymously, and absent any other evidence, I would not question that in this case.

Those links are great links to suggest to a person who asks vague, poorly worded, poorly formatted, code-free, etc. questions, but is inappropriate in this situation. And while it is true that there are "more than one postings available in the monastery regarding pipes" I don't get the impression you actually looked for any that relate even remotely to the OP's problem in this thread.

Update: I should clarify that this node is, in part, in response to Re^3: Closing STDIO Caused Pipe Not To Work as well.


In reply to Re^2: Closing STDIO Caused Pipe Not To Work by Errto
in thread Closing STDIO Caused Pipe Not To Work by Anonymous Monk

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.