I have done a lot of researching in the last hours only finding results for windows servers.
My problem is that I got a c++ program on a embedded computer which needs to be executed when the user wishes to. That's why I set up a webserver to handle that. So I want to create a html page (already done) with a button called "Start Program", which then executes my c++ program.
I already tried Javascript child_process
which somehow didn't work and also php system()
call, which was unhandy because it didn't react to the button click alone, but to refreshing of the page too.
Is there a smart way to do that? Thanks!