I am using backtick operators to execute a java command from
my perl script. If I give `java myprogram abc 2>&1` then my java program thinks that 2>&1 is another argument for it!!!!
Is there a way to redirect STDERR to both STDOUT and my logfile without this problem happening, and still using backtick operators.
My perl script needs to run both on UNIX and windows2000 so I like to keep this simple.
THanks !!