Calling Shell script in javascript

All

  I want to call a KORN shell script inside a javascript. Is it possible ? Please

help me to do this. I want to return or read from shell script in javascript.

Thanx in advance

Regards
Deepak Xavier

I don't think you can. Javascript is controlled for security especially for those run in Web browsers. Standard Javascript won't do this. Don't know whether the extension classes by IE will do any native stuff. Go to MSDN library for more insights if this is applicable to you.

Except with WSH (Windows scripting host) on Windows where you can use Javascript, VBScript etc. to program system admin. scripts, but they are strictly not for run by Web browsers. Allowing remotely controlled Javascript to access local environment is just leaving open the door to attack from everyone.