Closed mateuszviste closed 3 months ago
Now with some config-env debug data (output by SvarCOM when it is invoked by the kernel). When it works fine:
when it does not:
So the COMSPEC variable is actually there, but the environment starts with a 0 so SvarCOM thinks it is empty.
Also, in both cases there is no "exec string" trailing the environment strings.
Thanks for the pictures. These clearly show what is going on. I have to treat the empty env as a special case.
I hope https://github.com/SvarDOS/edrdos/commit/525b418819b1c775afd040f28c0254fb527646ae fixes it. Build is under artifacts.
Confirmed, it works. Thank you!
Not entirely sure this is a kernel bug, still have to debug it to understand better what happens, but here's the symptom: when booting EDR from the SvarDOS install floppy, I noticed there is no COMSPEC in the environment.
Now, if I only add a
SET SOMETHING=...
directive to CONFIG.SYS, then COMSPEC appears.