G
GG
I have a console application that is using Console.Read() so that the
application does not exit.
I have a separate thread that is sleepeing for n-seconds and checks to
see if it is time to exit. When it is time to exit, the thread needs to
send keys to the console so it can continue and exit.
How can you send keyboard keys to a console application?
Thanks
application does not exit.
I have a separate thread that is sleepeing for n-seconds and checks to
see if it is time to exit. When it is time to exit, the thread needs to
send keys to the console so it can continue and exit.
How can you send keyboard keys to a console application?
Thanks