<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Command-line build does not set ERRORLEVEL</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/32328/command-line-build-does-not-set-errorlevel</link><description> 
Hello, 

 
I am trying to integrate an ARM uVision 5.12 program into my build
integration server, so I need to run an automatic build from the
command-line. I have used the &amp;quot;UV4 -b -j0&amp;quot; command and it works, but
not as I expected. 

 
- The command</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: Command-line build does not set ERRORLEVEL</title><link>https://community.arm.com/thread/63284?ContentTypeID=1</link><pubDate>Thu, 13 Nov 2014 11:37:26 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:5e6eb110-f455-4178-ac79-051cd8cd3e88</guid><dc:creator>HansBernhard Broeker</dc:creator><description>&lt;p&gt;&lt;p&gt;
&lt;i&gt;- The command exits immediately after launching the
build&lt;/i&gt;&lt;br /&gt;
&lt;b&gt;All&lt;/b&gt; GUI programs do that. You&amp;#39;ll want to learn about the
&amp;quot;start&amp;quot; command.&lt;/p&gt;

&lt;p&gt;
&lt;i&gt;%ERROLEVEL% is set to 0 regardless of whether the build is
sucessful or not.&lt;/i&gt;&lt;br /&gt;
Same issue. A program can&amp;#39;t set errorlevel if the shell didn&amp;#39;t wait
for the program to finish.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>