in reply to How do I have Perl send the password to a program that prompts for a password

You may have to use Expect.pm
  • Comment on Re: how do i redirect the output to a var