Looking through the source of shp2img, it seems that exit status 0 is used even when an error was encountered, see lines 133, 142, 246, 274, 305. I guess the same is true for other file executables. Should I create a ticket for this? Peter R3 GIS Srl - GmbH http://www.r3-gis.com