Hello,

On 2020-05-12 10:53, Hans Hagen wrote:
On 5/11/2020 5:57 PM, cont...@vivaldi.net wrote:

d:\Lukas\ConTeXt\Test\EnvHome>
----

- I'm still getting:

1       C:/Users/u×ivatel
2       C:/Users/u×ivatel
3       C:/Users/u×ivatel
4       C:/Users/u×ivatel

whilst HOME environment has been set to "DummyHome"  (see "echo %HOME%").

What's wrong?

I can try.

I found 'oldhome' text in these files:

d:\Ctx-Beta\tex\texmf-context\scripts\context\lua\mtxrun.lua
d:\Ctx-Beta\tex\texmf-context\scripts\context\stubs\mswin\mtxrun.lua
d:\Ctx-Beta\tex\texmf-context\scripts\context\stubs\unix\mtxrun
d:\Ctx-Beta\tex\texmf-context\scripts\context\stubs\win64\mtxrun.lua
d:\Ctx-Beta\tex\texmf-context\tex\context\base\mkiv\data-ini.lua
d:\Ctx-Beta\tex\texmf-mswin\bin\mtxrun.lua

Which files do you recommend to try to insert debug prints into?

And - once I "inject" an extra debug info - do I have to call "context.exe --make --generate" (or similar)?

Lukas


I don't know ... maybe it pick up HOME from someplace else (the outer
process space or so)

you can insert prints (say os.getenv('HOME')) and see what happens

Hans
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to