<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Kinetis Design Studio中的主题 Re: KDS pre-build scripts and arguments</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/KDS-pre-build-scripts-and-arguments/m-p/396627#M2549</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From a quick test, the error-message has disappeared.&lt;/P&gt;&lt;P&gt;But I'm a little bit curious, if the pre-build command is not running through the cmd.exe what is the intended use then? I mean if evry developer in the world using this, must prepend 'cmd.exe' doesn't seem to be logical....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 May 2015 06:21:06 GMT</pubDate>
    <dc:creator>oaf</dc:creator>
    <dc:date>2015-05-27T06:21:06Z</dc:date>
    <item>
      <title>KDS pre-build scripts and arguments</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/KDS-pre-build-scripts-and-arguments/m-p/396625#M2547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Running KDS-3.0, I use a Python-script to do some work in my project as a pre-build rule.&lt;/P&gt;&lt;P&gt;Command:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ${SensBin}\CSprojFix.py --src ${ProjHome}\KDS&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I make my project I got this output in the Console window:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt; &amp;nbsp;&lt;/P&gt;&lt;P&gt;E:\Sensors\Common\bin\KDS\CSprojFix.py --src E:\Sensors\Modules\HDTransceiver\App\KDS&lt;/P&gt;&lt;P&gt;process_begin: CreateProcess(E:\Sensors\Common\bin\KDS\CSprojFix.py, E:\Sensors\Common\bin\KDS\CSprojFix.py --src E:\Sensors\Modules\HDTransceiver\App\KDS, ...) failed.&lt;/P&gt;&lt;P&gt;make (e=193): Error 193&lt;/P&gt;&lt;P&gt;make: [pre-build] Error 193 (ignored)&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I don't understand is that the command run by KDS (E:\Sensors\Common\bin\KDS\CSprojFix.py --src E:\Sensors\Modules\HDTransceiver\App\KDS)&lt;/P&gt;&lt;P&gt;works when run from the windows shell, but not from KDS.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2015 15:25:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/KDS-pre-build-scripts-and-arguments/m-p/396625#M2547</guid>
      <dc:creator>oaf</dc:creator>
      <dc:date>2015-05-26T15:25:40Z</dc:date>
    </item>
    <item>
      <title>Re: KDS pre-build scripts and arguments</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/KDS-pre-build-scripts-and-arguments/m-p/396626#M2548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you type a .py command in the Windows shell (aka DOS prompt), it knows about how to call Python with for it.&lt;/P&gt;&lt;P&gt;Try to add&lt;/P&gt;&lt;P&gt;cmd.exe&lt;/P&gt;&lt;P&gt;in front of your command line, so it launches the windows shell/command prompt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2015 15:29:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/KDS-pre-build-scripts-and-arguments/m-p/396626#M2548</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2015-05-26T15:29:46Z</dc:date>
    </item>
    <item>
      <title>Re: KDS pre-build scripts and arguments</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/KDS-pre-build-scripts-and-arguments/m-p/396627#M2549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From a quick test, the error-message has disappeared.&lt;/P&gt;&lt;P&gt;But I'm a little bit curious, if the pre-build command is not running through the cmd.exe what is the intended use then? I mean if evry developer in the world using this, must prepend 'cmd.exe' doesn't seem to be logical....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2015 06:21:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/KDS-pre-build-scripts-and-arguments/m-p/396627#M2549</guid>
      <dc:creator>oaf</dc:creator>
      <dc:date>2015-05-27T06:21:06Z</dc:date>
    </item>
  </channel>
</rss>

