Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#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.

Change History (2)

comment:1 by jng, 14 years ago

Resolution: fixed
Status: newclosed

Fixed in r4825

comment:2 by jng, 14 years ago

Milestone: Maestro-2.1Maestro-3.0

Milestone Maestro-2.1 deleted

Note: See TracTickets for help on using tickets.