[GRASS-user] The tomcat shut down when encounter some error grass commond

Hamish hamish_b at yahoo.com
Fri Sep 25 02:58:59 EDT 2009


> Hi,thanks, you are right, I have solved this
> problem,but I want to know how to judge a grass
> commond(called in my javaProgram) is successfully
> exected?


check this:
> >   if (ps.exitValue() != 0) {

??

exit values:

0 == success
1 == failure
other = failure


Hamish



      


More information about the grass-user mailing list