0

I am developing one web application in javaScript/JQuery where i need to run system command on client and server both side. How can it be done?

Regards

2
  • If I'm understanding your question correctly, you can't run shell commands on the client via the browser. Commented Nov 11, 2014 at 11:08
  • @Qantas94Heavy in IE you can.. not straight forwards thought// Commented Nov 11, 2014 at 11:09

1 Answer 1

1

You can't, because that would be a big security issue.

If you need this to be done you can either ask your client to run it, or let them download a file that will do it for them. Other options are ActiveX/Java applet and so on...

Sign up to request clarification or add additional context in comments.

9 Comments

Ok, how can i run on server side?
This is where you need to be more precise about "run system command". Open a file? Execute something? What do you need to do exactly?
And of course, what web server are you running? Programming language?
I am using JavaScript as programming language and Apache as web server. I need to execute command (basically need to run some C++ exe files).
Still not enough info. What programming language do you run on the server?
|

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.