Post-link commands fail with "Can't start process"
I've using Crossstudio for ARM and recently upgraded from 2.1 to 2.2
I am trying to use a post link command to run a batch file (blah.bat)
The Post Link Working Directory is set to $(ProjectDir)
The batch file is in the project directory and works if run from the command line.
When I do a build I get the following error:
Post-link command
blah.bat
Can't start process blah.bat
Build failed
I have tried a creating a new minimal project but I still get the same behaviour.
I've also tried going back to V2.1 and get the same failure there now, although it has worked in the past.
Any ideas?
-
I too am trying to execute a batch file after the link step. However, I get the message:
"Can't start process"
cmd.exe /C GenerateAdditionalOutput.bat
I've tried putting the whole thing in quotes:
"cmd.exe /C GenerateAdditionalOutput.bat"
but that does not work.
My Post Link Working Directory is set to $(ProjectDir) just like the OP's
Thoughts on why this is occurring?
-
On 32-bit Windows 7, I'm using:
CrossWorks for MSP430 .
Release 2.2.1.2013112503.19841
Windows x86I've tried various combinations of the above including the complete path to cmd.exe
No matter what I try I, the post-link command fails and I get the following error:
Can't start process C:\Windows\System32\cmd.exeHelp!!
Thanks,
Best Regards, Dave
Please sign in to leave a comment.

Comments
7 comments