in reply to (solved) Redirect Shell Launch to perl script

You don't show us the Perl script and I never heard of your application.

(update: And it's not clear if you tested it without tee.)

Does this work?

${SERVER} 2>&1 > hive.txt; cat hive.txt | hive.pl

If yes, then it might be related to buffering, or missing newlines or redirection problems or ...

So what is the content of hive.txt?

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!

Replies are listed 'Best First'.
Re^2: Redirect Shell Launch to perl script
by delpi (Novice) on Nov 27, 2016 at 18:21 UTC
    That part I posted about STDIN was the only relevant part of the perl script. I event tried it with only that and a line to print to log. However, it turned out at some point I fixed the Shell Script, but at that point the perl script had gotten overwritten by log information. It is all working now.