I am in the process of coding a board game with C++. After compiling, there will be an executable file that runs the game. I wish to call this executable from a JavaScript program I am creating to handle the input and output of the executable. Is it possible to run the executable from JavaScript?
I know there are other answers such as this one: Running .exe from Javascript, but I am trying to handle input to the executable, and thus will need to be able to interact with the user from JavaScript and then feed that input into the executable. Thus, I need to be able to "pause" the running of the executable while I wait for input to give it from the user. Is this possible?
EDIT:: I will be running this from a JavaScript server