in reply to redirecting output and warning messages
Either use backticks to capture the output in Perl, or replace LOGFILE with $logfile, as in:
Note, however, that different shells do this differently. To be portable, do it in Perl yourself.$status=system("$Cmds1 > $logfile 2>&1");
-QM
--
Quantum Mechanics: The dreams stuff is made of
|
|---|