[GRASS-dev] GUI -> change working directory - what should this action do?

Paulo van Breugel p.vanbreugel at gmail.com
Mon Dec 14 01:08:28 PST 2020


On Mon, Dec 14, 2020 at 5:11 AM Vaclav Petras <wenzeslaus at gmail.com> wrote:

>
>
> On Fri, Dec 11, 2020 at 5:32 PM Helmut Kudrnovsky <hellik at web.de> 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
>> grass-dev at lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/grass-dev
>>
> _______________________________________________
> grass-dev mailing list
> grass-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/grass-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20201214/2cc2bf75/attachment.html>


More information about the grass-dev mailing list