[GRASS-dev] Questions about GRASS temp directory

David Finlayson david.p.finlayson at gmail.com
Sun Jun 18 09:03:28 EDT 2006


In the init.sh a temp directory is set up using the form
<tempdir>/grass6-<user>-<pid> and then the GISRC is copied into this
directory.

I don't see anywhere in the script where tmp is exported except
perhaps as part of the path to $tmp/GISRC. How do other grass programs
find this directory? Maybe nothing else uses it?

Anyway, does it matter if I change the name from grass6-user-pid
convention to grass6-random-number? It turns out that I can't find a
cross-platform way to get the user name in Python. Go figure.

Any suggestions?

-- 
David Finlayson




More information about the grass-dev mailing list