View Issue Details

IDProjectCategoryView StatusLast Update
0001657Double CommanderDefaultpublic2020-06-19 21:52
ReporterSkif_off Assigned ToAlexx2000  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
ProjectionnoneETAnone 
Product Version1.0.0 (trunk) 
Target Version0.8.0Fixed in Version0.8.0 
Summary0001657: Lua: Error to use internal environment variables from parent DC
Description'os.getenv("COMMANDER_PATH")' will return nil.
If run DC from TC then 'os.getenv("COMMANDER_PATH")' will return TC value, not DC value.

If Lua script uses as wdx plugin then it has this error too.
Steps To ReproduceTry with cm_ExecuteScript
-----
local f, e1, e2

e1 = os.getenv("TEMP")
e2 = os.getenv("COMMANDER_PATH")

f = io.open(e1 .. "\\test.txt", "w")
f:write("TEMP = " .. e1 .."\n");
f:write("COMMANDER_PATH = " .. e2 .."\n");
f:flush();
f:close();

DC.ExecuteCommand("cm_ChangeDir", e1);
-----
TagsNo tags attached.
Fixed in Revision7265
Operating systemWindows
Widgetset
Architecture

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2016-12-11 13:57 Skif_off New Issue
2016-12-11 17:16 Alexx2000 Fixed in Revision => 7265
2016-12-11 17:16 Alexx2000 Status new => resolved
2016-12-11 17:16 Alexx2000 Fixed in Version => 0.8.0
2016-12-11 17:16 Alexx2000 Resolution open => fixed
2016-12-11 17:16 Alexx2000 Assigned To => Alexx2000
2016-12-11 17:16 Alexx2000 Target Version => 0.8.0
2020-06-19 21:52 Alexx2000 Status resolved => closed