I'm using Delphi 2010, and I need to run a console application and automate the tasks that would normally require the user to enter information (for example a password).
So basically I need some way to pipe all the text and read the lines so I know when the application is read for some kind of input, then automatically have my program send the text that the other application needs.
The program I was trying to automate is a Cygwin port of OpenSSH, and I need to enter the password (which isn't displayed when typed) and then press enter.