Is there a way to call an external program on client side and "talk" to it?
For example, if I have a Node.js serverving an AngularJS or any other framework, I want the user to press a button on the browser and a previously installed program on client-side starts to run and send back to the client some messages...
Can I achieve that?
steam://friends. The user has to allow this action. As far as running an arbitrary executable on the users' machine, no that is not possible (nor secure).require('child_process').exec. The latter has event emitters that you could easily wire up to the socket to track progress of the native executible