andrejv/wxmaxima — pull request #360 by gunterkoenigsmann (2014-11-27 06:45:50+00:00)
Title: Now maxima is doing its file I/O relatively to the path of the file we opened, as it did a few months ago.

Seems like the xchdir lisp command does st the pwd for child processes but not necessarily the dir file I/O of the current process is relative to. Did test this patch using the current maxima release with gcl and sbcl as lisp. Without it with the current maxima and wxmaxima the following .wxm file:

```
load(numericalio);
read_matrix("Test.csv");
```

will read the file "Test.csv" in the directory the maxima process was started in, which (especially on windows) might not be the directory the .wxm file was read from.