open WGET, "wget foo.moo 2>&1 |" or die "Couldn't run wget: $!\n"; while(<WGET>){ [download]
In reply to Capture wget progress bar by rendler