#1343 closed defect (fixed)
MgCooker: Generated batch scripts are not portable
Reported by: | jng | Owned by: | jng |
---|---|---|---|
Priority: | low | Milestone: | Maestro-3.0 |
Component: | Maestro | Version: | |
Severity: | trivial | Keywords: | |
Cc: | External ID: |
Description
The batch files generated by MgCooker are not portable in that they may fail when not run from the same directory as MgCooker.exe
The fix is to wrap the MgCooker.exe call like so:
pushd %MGCOOKER_EXE_PATH% MgCooker.exe ... popd
This way, running the batch file will enter into that directory ensuring any needed dlls are properly loaded.
Note:
See TracTickets
for help on using tickets.
Fixed in r4825