Sending data to a dos program
Posted on 2011-09-22
I have a program that runs lets call it testrunner, that excepts 2 parameters, databasename and userid. So for example
testrunner -d test -u testuser
It then prompts for a password, there is no parameter for it in the command line.
I need to call testrunner from a service, but I'm not sure if there is a way to run it, and then send the keystrokes to type hte password in when it prompts for it.