Hi Michael, 2007/9/2, Michael Barton <[EMAIL PROTECTED]>:
> g.mapset mapset=PERMANENT location=Spearfish60_test --q > WARNING: Your shell continues to use the history for the old mapset. > > This causes cmd.Command (wxgrass command processor using subprocess.Popen) > to report an error when there isn't one. mapset = "PERMANENT" location = "spearfish60" mapsetCmd = cmd.Command(['g.mapset', 'mapset=%s' % mapset, 'location=%s' % location, '--q']) print "%d" % mapsetCmd.returncode # 0 success # 1 failure ? Martin -- Martin Landa <[EMAIL PROTECTED]> * http://gama.fsv.cvut.cz/~landa * _______________________________________________ grass-dev mailing list [email protected] http://grass.itc.it/mailman/listinfo/grass-dev

