Robert Rendler wrote:

Currently I'm unable to capture wget's progress bar (the one with the arrow).
It doesn't appear to be using STDOUT or STDERR. So this his not working:

open WGET, "wget foo.moo 2>&1 |" or die "Couldn't run wget: $!\n";
while(<WGET>){

It's likely that wget is writing directly to the console and not using an IO stream. You won't be able to capture it's output like that. I usually just run wget with system():


my $wget = "wget -m -nH $site";
system($wget) == 0
    or die "Error executing '$wget'";

-- Brett





--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to