Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001657Double CommanderDefaultpublic2016-12-11 10:572016-12-11 14:16
ReporterSkif_off 
Assigned ToAlexx2000 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
ProjectionnoneETAnone 
PlatformOSOS Version
Product Version0.9.0 (trunk)Product Build 
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
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2016-12-11 10:57 Skif_off New Issue
2016-12-11 14:16 Alexx2000 Fixed in Revision => 7265
2016-12-11 14:16 Alexx2000 Status new => resolved
2016-12-11 14:16 Alexx2000 Fixed in Version => 0.8.0
2016-12-11 14:16 Alexx2000 Resolution open => fixed
2016-12-11 14:16 Alexx2000 Assigned To => Alexx2000
2016-12-11 14:16 Alexx2000 Target Version => 0.8.0
Get Double Commander at SourceForge.net. Fast, secure and Free Open Source software downloads


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker