Calling external tools
Technical Note 73942
Arkitekturer:
All
Komponent:
IDE
Uppdaterad:
2018-02-08 06:14
Introduction
There can be an error message after setting up an external tool in the IAR Embedded Workbench.
Discussion
This error message...
The handle is invalid.
...can occur after setting up an external tool at: Tools > Configure Tools...
Example
Specifying Command as follows will lead to the error message:
C:\TEMP\doit.bat $PROJ_DIR$
Suggestions
- Specify a shell (for example
cmd.exe
) as Command
and specify script(s) (for example.bat
file(s)) to be called as Argument. - Avoid specifying an Argument variable (such as
$PROJ_PATH$
) as Initial Directory.
The suggestion is to specify Command and Argument as follows:
Command: C:\Windows\System32\cmd.exe
Argument: /C C:\TEMP\doit.bat $PROJ_DIR$
Conclusion
The suggestions above can help when setting up an external tool.
All product names are trademarks or registered trademarks of their respective owners.