How do I know when a program is waiting for an input and then give the input through Python?
Sorry, this might look very stupid but I have a console C++
program and I need to pass input through Python
. It is unexpected when this C++
program waits for an input and so I hoped I could have done this programmatically. Probably there’s a way with Windows API
but I’m not so knowledgeable in WinAPI
. I’m with Windows 11.