+ The Oktave Forum » Technical » Engineering » Web Design
|-+ javascript + shell script
Username:
Password:

Pages: [1]
Topic Tools  
Read May 26, 2009, 04:43:36 pm #0
tarungulyani

javascript + shell script

using javascript code could i execute shell script? If it possible then please tell me how? like as system() in perl n shell_exec() in php.
« Last Edit: May 26, 2009, 06:59:06 pm by tarungulyani »
Offline  
Read May 27, 2009, 12:42:56 pm #1
sri

Re: javascript + shell script

AFAIK it is not possible to execute local shell commands using javascript. It is too much of a security risk to have an untrusted script from the net execute local commands from your machine. OTOH if there are some plugins for your browser that allow you to access the local file system, you can try interfacing with them from javascript.

Anyway, found this hack for running command-line DOS applications in a windows environment using javascript: http://www.winscripter.com/WSH/System/105.aspx

Hope this helps..
Offline  
Pages: [1]
Jump to: