Keil Logo

µVISION: CLEAR EXIT CODE OF EXTERNAL USER PROGRAMS


Information in this article applies to:

  • µVision All Versions

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

Last Reviewed: Saturday, May 1, 2004


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.