I'm running a commandline process via C# System.Diagnostics.Process.
When I enter this same command in cmd.exe, it immediately prompts me for a password. After I type in the password, the process continues to completion.
However, using System.Diagnotic.Process, none of the standard output I'm redirecting ever produces a password prompt. If it did, I would programmatically enter it using the redirected standard input's WriteLine method.
Is it usual to not see prompts in the output using the Process object? Are prompts different from other standard output lines? If so, how can bring "prompt-events" into my application, enter input, and then have the process proceed the same way it does in cmd.exe?