TCL command quitIDE with custom error code

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

TCL command quitIDE with custom error code

931 次查看
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

标签 (1)
0 项奖励
回复
1 回复

789 次查看
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 项奖励
回复