TCL command quitIDE with custom error code
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
We have been using classic CodeWarriror 7.2 for Coldfire architecture for some time. We would like to add some tcl scripts for continuous integration building and testing using cmdIDE.exe /d. However if I call quitIDE command then return value of cmdIDE.exe is always 0. How do I quit the IDE with some specific error code so I could determine that something has gone wrong in the scripts?
Thank you very much for any help beforehand!
Vladislav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi vladislavkasik
Unfortunately return value of cmdIDE.exe cannot be customized, but you can check the document: CodeWarrior
Development Tools IDE 5.9 Windows, Automation Guide
it is a guide of this tool and maybe you could use the onScriptError that abort or continue the script if a command fails.
Hope this information helps you, sorry for the inconveniences that this could cause you.
Have a great day,
Jorge Alcala