Keil Logo

µVISION: µVISION Returns Immediately when Called in Batch Mode


Information in this knowledgebase article applies to:

  • µVision IDE 4 and 5

QUESTION

I am using µVision IDE 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 IDE in blocking mode?

ANSWER

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

MORE INFORMATION

Last Reviewed: Friday, October 23, 2020


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.