are you using some environment variables for the script?

could you post the script here.

regards
Asif

-----Original Message-----
From: randie ursal [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 23, 2003 9:08 AM
To: [EMAIL PROTECTED]
Subject: about Runtime.exec()


Hello guys,

   This question is a bit out of scope. But I need some experts to
to clarify things.

   I have a shell script being run at runtime in Java by using the
Runtime.exec() command.

   My question is why is it that the return value after execution
is 2000, but if I run the script on the command line directly the
return value is 0.


thanks a lot.


___________________________________________________________________________
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

___________________________________________________________________________
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