TCL command quitIDE with custom error code

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

TCL command quitIDE with custom error code

435 Views
vladislavkasik
Contributor II

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

Labels (1)
0 Kudos
1 Reply

293 Views
jorge_a_vazquez
NXP Employee
NXP Employee

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

0 Kudos