ARM Technical Support Knowledge Articles

CLEAR EXIT CODE OF EXTERNAL USER PROGRAMS

Applies to: uVision IDE

Answer


Information in this article applies to:


QUESTION

I have an external user program that I run during the build process. When the program finishes the following message displays:

--- User Command terminated, Exit-Code = 1
"project" - 1 Error(s), 0 Warning(s).

I know that the error message displays because my application sets the exit code. Is there a way to avoid this error message?

ANSWER

Yes. Create a batch file (*.BAT) and include the command into this batch file. As the last command in the batch, use the ECHO command to echo some text to the output window. The ECHO command clears the errorlevel variable and the warning message will disappear.

SEE ALSO

Article last edited on: 2004-05-01 14:28:02

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential