Pathologically Eclectic Rubbish Lister | |
PerlMonks |
external command, progress bar and exit valueby svenXY (Deacon) |
on Apr 01, 2009 at 12:36 UTC ( [id://754685]=perlquestion: print w/replies, xml ) | Need Help?? |
svenXY has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
I know that questions about progress bars have been answered here before, but they did not seem to address my special case here (forgive me if I'm wrong). Anyway, I tried to roll my own solution that works partly, but I ran into some trouble. Here's what I try to achieve: the current design is as follows My code works fine for some commands, but - for whatever reason - not for all of them.
returns whereas only returns (note the missing 'bar') Here's my code (fully working example):
Any hints greatly appreciated! svenXY Todo: Make this also work with STDERR and such...
Back to
Seekers of Perl Wisdom
|
|