Quantcast
Channel: Mentor Graphics Communities : Blog List - All Communities
Viewing all articles
Browse latest Browse all 71

Tip of the Week:Use mglaunch.exe to run wrapper scripts in VX releases

$
0
0

VX releases (for example: PADS VX.1.1) set very few environment variables as compared to pre-VX releases (PADS 9.5 and earlier). The only environment variables that get set are the MGLS_LICENSE_FILE and WDIR_<release>. For more details refer to Tip of the Week: Setting the WDIR in VX releases.

As a result of this change, any script that depends on the SDD_HOME (or similar) environment variable should use the 'mglaunch.exe' wrapper program to launch under the new Mentor command shell (SDD_HOME is available in this environment). Another alternative is to alter the paths in the script to no longer depend on the variable (i.e. use full paths).

Sample command using 'mglaunch.exe' (%SDD_HOME% path will resolve):

mglaunch.exe "C:\scripts\myMentorScript.bat"


Viewing all articles
Browse latest Browse all 71

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>