I am writing a .NET windowed application in C # that launches a third-party console application through the Process class, as hidden as possible (CreateNoWindow, RedirectStandardOutput, etc.).
I redirected it to StandardInput, so I can write any line that I want, but not function keys or other special keys, since they have no character representation. For me, I have to send the F1 keys to F4 to the console application. The solutions I found are for a windowed application (PostMessage, SendMessage).
How to do this for a console application?
Is there anything related to process processing?
ifroz
source share