> 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




_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to