I am not able to call a shell script program from javascript(for example if someone will click a button in webpage then a script will run and will throw some output)???
Take the 2-minute tour
×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.
Because of security concerns, you cannot do this like you can e.g. call a binary program from a shell script, some program from Python using If you want this kind of functionality, the way to go is to:
I have used this mechanism to allow printing, on the local machine, of multiple selected Word documents. The submit of the list of documents is redirected to the local webserver (using XML-RPC) that then retrieves the documents, and starts Word in batch mode to print them all. |
|||
|