I know getpass() reads the password from controlling terminal, but i
want to use a tool to feed the password to the application to support
automation instead of manually key in.
I tried to write password to /dev/tty when the application is waiting
for any input, but failed.
Anyone can help?
Copyright © 2001-2013 GNT Media