On Fri, Dec 11, 2020 at 5:32 PM Helmut Kudrnovsky <hellik@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.
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.
On Fri, Dec 11, 2020 at 5:32 PM Helmut Kudrnovsky <hellik@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.
On Mon, Dec 14, 2020 at 10:09 AM Paulo van Breugel
<p.vanbreugel@gmail.com> wrote:
On Mon, Dec 14, 2020 at 5:11 AM Vaclav Petras <wenzeslaus@gmail.com> wrote:
On Fri, Dec 11, 2020 at 5:32 PM Helmut Kudrnovsky <hellik@web.de> wrote:
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!
Shall this be added to the user manual? Edits welcome