Re: about Runtime.exec()
"Asif.Raj" <[email protected]>
| Newsgroups | gmane.comp.java.sun.servlet |
|---|---|
| Message-ID | <759BC7ED1B0BD6118BC400B0D0E16A1F01B7B648@BHILLS3NT002> |
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