[GRASSLIST:787] bash scripts don't wait for grass

Luigi Ponti lponti at infinito.it
Thu Apr 20 21:22:53 EDT 2006


Hello,

Maybe unrelated but I remember a similar question on the list.

When I run a ~400 lines bash script to batch process more than just a 
couple of files, the script kind of of gets tangled and stops before 
processing the last file (it is basically v.in.ascii importing plus 
v.rast.idw interpolating, and some Perl scripts), as if some overlapping 
between child processes occurred.

I tried with the "wait" bash command which should have fixed it, but it 
still occurs. Is it a known issue? Or is it related to the fact that I 
am running grass60 on cygwin?

Any hints to make grass batch processing more reliable will be appreciated.

Thanks,

Luigi




More information about the grass-user mailing list