Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generate a batch script on Windows (launches exe) (#8572)
* Generate a batch script on Windows (launches exe) - We now generate a <ModelName>.bat file along with other generated files. The script updates the PATH with the directories extracted from the model and then launches the executable. - The APIs `simulate`, `optimize` and `linearize` now launch executables using this bat file. - OMEdit manually parses the bat file, extracts the additional paths needed and updates the PATH itself before launching the executable. - OMNotebook and OMShell have not been updated yet. * Catch the return code of the executable and exit with it. - To be safe catch the %ERRORLEVEL% of the executable call and exit with that.
- Loading branch information
Showing
6 changed files
with
142 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters