Hmmm
I'm more of a java "lurker" than a real expert, but my 1st intuition
about your question is that you are requesting a violation of the
"sandbox" rule of java.  The options I would explore (but I'm not a
final source by any means) are:

1.   Write A Signed applet (basically a "trusted app")
2.   Explore the thought of calling your script from a component
     using the Java Native Interface (JNI) API.

just my 2 cents


kevin carothers   [EMAIL PROTECTED]


-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of
ASHISH_GARG
Sent: Monday, December 20, 1999 7:13 AM
To: [EMAIL PROTECTED]
Subject: A Java Query


Hi,
    I am sorry for posting a Java Query on Servlet mailing list.
My query is: Can I run a shell script using 'exec' command of 'Process'
class in Java ? I can run a batch file on dos but I am not able to run a
shell script. If somebody can help I would be grateful.
Regards
Ashish

[---]

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to