title: Run console application from html page with javascript or java?
body: <p>Is there a way to run a user specified console application from an html page using Javascript or Java, a popup should come to verify the user wants to run the exe,? I would like to interact with the console application through its stdin and read out its stdout and do computations based on that and show the result on the html page.</p>
  
  <p>The application is a Windows exe so I'm looking for solutions that work under Windows and only for  the latest versions of Chrome, Firefox, and Internet Explorer.</p>
  
  <p>Answers to another <a href="https://stackoverflow.com/questions/6216024/java-applet-run-native-code-from-browser">question</a> on Stackoverflow suggests that signed java applets can solve this problem though I have not verified that the approach will even work and if it works will it work for the latest Chrome, Firefox, and Internet Explorer. I was hoping there would be a solution with just Javascript and not requiring Java.</p>