GENERAL: µVISION returns immediately when called in batch mode
Information in this knowledgebase article applies to:
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
of your data.