in reply to Re: How to cpture output of interactive command using perl.?in thread How to cpture output of interactive command using perl.?
... $| = 1; #Autoflush on system("your_command | tee $filename"); $| = 0; #Autoflush off [download]