> Da: Hamish <hamis...@yahoo.com> > have a look at the functions in lib/gis/spawn.c.
Ok, so if I got it right I need to do a sys call exec. What do you usually do for reading the module's output? I suppose that, doing the things this way, I'll need to run my program inside a grass shell to have it working. Do I need the "extern" keyword in this case? I guess not since I'm doing a sys call. Maybe I've misunderstood the example... Thanks! Matteo _______________________________________________ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user