Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Servlet Interest »

about Runtime.exec()

randie ursal

2003-07-22

Replies:

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 listserv@(protected)
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



©2008 junlu.com - Jax Systems, LLC, U.S.A.