You might also want to look at IPC::Open2 and IPC::Open3.my $logFile = IO::File->new("$someFile", 'a'); my $cmd = qx($rsh $host -l $id "$command"); print $logfile $cmd;
In reply to Re: Piping output into a log file
by gam3
in thread Piping output into a log file
by CC Em
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |