Codewarrior : Facing issue in Automation using TCL Scripting
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
I found an automation guide (https://www.nxp.com/docs/en/user-guide/IDE_5.6_Automation_Guide.pdf) which states that TCL scripts can be used for automating flashing and debugging operations and found it quite useful but facing some challenge/issue as well i.e. once the flashing is completed, need to quit/close the CodeWarrior IDE. Document recommends to use "quitIDE" command for the same.
Used the same command but it closes only one thread of the CodeWarrior IDE i.e. closes the IDE but respective process/thread still exists/visible in the Task Manager window. I need to close the same forcefully.
Looking for some idea/thought through which Codewarrior IDE can be closed completely.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Jira_kral
Thanks for your reply.
Well as soon as I execute quitIDE, there is no console to execute "taskkill" command. Also if I try to execute through the dos prompt then it is hard to gauge the completion of the existing TCL scripting. I mean there needs to be a sync between TCL Script and External DOS command execution for "task kill".


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm not much familiar with CW v5.6 and it's scripting language. But if the the tcl console allows call OS commands, you can use taskkill command.
When I went through the guide, may be the quitIDE will work if you start new IDE for the console with /s parameter.
