in reply to Re: Re: not waiting for external command to complete before getting the output
in thread not waiting for external command to complete before getting the output

It is likely outputting something without newlines (i.e. "\r" instead of "\n"), so you could try setting your input record seperator to that, for instance: local $/ = "\r";

Also see the perlfunc section on getc for more info on input buffering.

Hope this helps,
Joost.