AnsweredAssumed Answered

KDS pre-build scripts and arguments

Question asked by Ole Asbjorn Fadum on May 26, 2015
Latest reply on May 26, 2015 by Ole Asbjorn Fadum

Hi,

 

Running KDS-3.0, I use a Python-script to do some work in my project as a pre-build rule.

Command:

    ${SensBin}\CSprojFix.py --src ${ProjHome}\KDS

 

When I make my project I got this output in the Console window:

 

E:\Sensors\Common\bin\KDS\CSprojFix.py --src E:\Sensors\Modules\HDTransceiver\App\KDS

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.

make (e=193): Error 193

make: [pre-build] Error 193 (ignored)

 

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)

works when run from the windows shell, but not from KDS.....

Outcomes