Re: [GRASS-dev] clean_temp.c versus deleting mapset's .tmp

2015-05-22 Thread Moritz Lennert
On 21/05/15 18:11, Vaclav Petras wrote: On Thu, May 21, 2015 at 11:01 AM, William Hargrove h...@geobabble.org mailto:h...@geobabble.org wrote: This is for old GRASS codgers like me who run GRASS commands *outside* the GRASS shell, by setting all of the environment variables. This is the

Re: [GRASS-dev] clean_temp.c versus deleting mapset's .tmp

2015-05-21 Thread Glynn Clements
Vaclav Petras wrote: when I was working on grass.py I saw there usage of clean_temp function which calls clean_temp program and deletion of the whole .tmp directory and I can't make sense out of it. It seems to me that clean_temp (lib/init/clean_temp.c) executable called in grass.py is

Re: [GRASS-dev] clean_temp.c versus deleting mapset's .tmp

2015-05-21 Thread William Hargrove
This is for old GRASS codgers like me who run GRASS commands *outside* the GRASS shell, by setting all of the environment variables. This is the way that we change active mapsets as well. I do this to have all of the *nix commands integrated seamlessly with GRASS commands. If a particular

Re: [GRASS-dev] clean_temp.c versus deleting mapset's .tmp

2015-05-21 Thread Vaclav Petras
On Thu, May 21, 2015 at 11:01 AM, William Hargrove h...@geobabble.org wrote: This is for old GRASS codgers like me who run GRASS commands *outside* the GRASS shell, by setting all of the environment variables. This is the way that we change active mapsets as well. I do this to have all of

[GRASS-dev] clean_temp.c versus deleting mapset's .tmp

2015-05-20 Thread Vaclav Petras
Hi, when I was working on grass.py I saw there usage of clean_temp function which calls clean_temp program and deletion of the whole .tmp directory and I can't make sense out of it. It seems to me that clean_temp (lib/init/clean_temp.c) executable called in grass.py is not necessary because the