View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update | 
|---|---|---|---|---|---|
| 0001657 | Double Commander | Default | public | 2016-12-11 13:57 | 2020-06-19 21:52 | 
| Reporter | Skif_off | Assigned To | Alexx2000 | ||
| Priority | normal | Severity | minor | Reproducibility | always | 
| Status | closed | Resolution | fixed | ||
| Projection | none | ETA | none | ||
| Product Version | 1.0.0 (trunk) | ||||
| Target Version | 0.8.0 | Fixed in Version | 0.8.0 | ||
| Summary | 0001657: 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 Reproduce | Try 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); -----  | ||||
| Tags | No tags attached. | ||||
| Fixed in Revision | 7265 | ||||
| Operating system | Windows | ||||
| Widgetset | |||||
| Architecture | |||||
| 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 |