Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Answer: How do I have Perl send the password to a program that prompts for a password

by ton (Friar)
on Jun 21, 2001 at 02:31 UTC ( #90231=categorized answer: print w/replies, xml ) Need Help??

Q&A > input and output > How do I have Perl send the password to a program that prompts for a password - Answer contributed by ton

Give IPC::Open2 or IPC::Open3 a try.

  • Comment on Answer: How do I have Perl send the password to a program that prompts for a password
Replies are listed 'Best First'.
Re: Answer: How do I have Perl send the password to a program that prompts for a password
by dimmesdale (Friar) on Jun 21, 2001 at 02:49 UTC
    Or, you can try Expect.pm.
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (1)
As of 2017-03-25 05:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (311 votes). Check out past polls.