|No such thing as a small change|
Premature close of the pipeby Superfox il Volpone (Sexton)
|on Apr 09, 2014 at 13:20 UTC||Need Help??|
Superfox il Volpone has asked for the
wisdom of the Perl Monks concerning the following question:
Dear perl monks,
I am struggling to keep my pipe open long enough so that the underlying command has the time to complete.
This is my code:
Unfortunately the pipe terminates before the command is able to copy all the involved files. But if I print the output into the stdout, then the pipe will correctly finish and all the files will be copied.
Can you please tell me how to ensure the underlying command completes without having to print the output into the stdout?