Keil Logo

GENERAL: µVISION returns immediately when called in batch mode

Information in this knowledgebase article applies to:

  • µVision 4 and 5


I am using µVision to build a project in batch mode. Therefor I enter a command like:

C:/Keil_v5/UV4/UV4.exe -b MyProject.uvproj

in the Windows command window and noticed, that the command prompt returns immediately, even while the build is still not finished.

So, is there also a way to call µVision in blocking mode?


The command to build the project can be put into a batch file. When calling this batch file, the command window from where this is called, is blocked until the batch file finished.

Another option is to use the DOS START command with the /WAIT switch:

START /WAIT C:/Keil_v5/UV4/UV4.exe -b MyProject.uvproj


Last Reviewed: Thursday, January 4, 2018

Did this article provide the answer you needed?
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.