Dear Siep Kroonenberg,
Note that under TL/w32 os.getenv returns the parent path. Maybe this should be considered a bug, although the modified path is visible to child processes.
I don't know details, and I didn't change original code for os.setenv and os.getenv. Please see: http://tug.org/pipermail/luatex/2013-August/004572.html http://tug.org/pipermail/luatex/2013-August/004573.html Best regards, Akira
