Emulate keyboard in bash
Hi :cool:
I've stumbled upon a problem. When I run a program, this program asks me for a security password. I'm looking for a way to convince bash to enter it on my behalf. I've tried with echo pass, but this doesn't work as the commands are executed sequentially. program <- this is where the password must be entered echo pass Thanks for your answers, Cheers |
This is what Expect is for: http://expect.sourceforge.net/
|
All times are GMT -5. The time now is 07:09 AM. |