I have created a new instance of the System.Diagnostics.Process class.
The StartInfo.Filename property is the name of my command line application (OpenSSL.exe). I can use StandardInput.WriteLine to send commands to this application. This works fine until I reach the point where I am asked for a password, in which case StandardInput.WriteLine doesn’t do anything.
What am I doing wrong here?
I worked this out, I added a reference to
System.Windows.Formsthen usedSendKeys.SendWaitto send each letter of my password to the application, followed by the Enter key.