Re: GUI -> change working directory - what should this action do?
Paulo van Breugel <[email protected]>
| Newsgroups | gmane.comp.gis.grass.devel |
|---|---|
| Message-ID | <CAGrkfcLsD7u58k1_W=oxrXngTMqVpMxPqCjjqVFMsjYo0tA4pg@mail.gmail.com> |
On Mon, Dec 14, 2020 at 5:11 AM Vaclav Petras <[email protected]> wrote: > > > On Fri, Dec 11, 2020 at 5:32 PM Helmut Kudrnovsky <[email protected]> wrote: > >> hi, >> >> today, I saw for the first time ;-) in the GUI: >> > > ...and there might be more :-) > > >> >> Settings → GRASS working environment → Change working directory. >> >> what should this action do? > > > Call os.chdir(), Python equivalent of unix cd, i.e., change current > working directory. Is this something outlandish on Windows? Try also cd > command in Console. > I hadn't seen that either, thanks for pointing this out, and a very handy feature indeed! > > >> has this ever be tested in winGRASS? > > > Tested and used at least in classrooms. > > >> how could this be tested? >> > > Any module with import, export, read, or save file will use the current > working directory when a filename, but no (or relative) path is specified. > > Vaclav > > >> >> >> >> ----- >> best regards >> Helmut >> -- >> Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Dev-f3991897.html >> _______________________________________________ >> grass-dev mailing list >> [email protected] >> https://lists.osgeo.org/mailman/listinfo/grass-dev >> > _______________________________________________ > grass-dev mailing list > [email protected] > https://lists.osgeo.org/mailman/listinfo/grass-dev > _______________________________________________ grass-dev mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/grass-dev