posted 18 years ago
Hi Guys,
I Wasn't here for a long time...
I've got a question :
Inside my code , I'd like to run ( probably with exec ) an external .exe file.
After a while, I'd like to send to that external .exe file which is in execution, some data input instead of having a real user typing on the keyboard for that application.
Just a small example for those who didn't understand the question :
Lets say I've got a file called : 1.exe
And for the sake of explaining lets say that all the application 1.exe does is write to the screen : "What is your name?" and wait for an input.
In my code, I'd like to execute that file called 1.exe and after a while ( lets say after 5 minutes ) I'd like to have my code able to send input to the application 1.exe .
Does anybody know how can I do that ?