외부 도구 호출
기술노트 73942
아키텍처:
All
컴포넌트:
IDE
업데이트:
2018-02-28 오전 2:35
Introduction
There is the message
The handle is invalid.
after setting up an external tool using the menu item:
Tools -> Configure Tools...
in IAR Embedded Workbench.
Possible solution
- 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.
Failing Example
Specifying Command
C:\TEMP\doit.bat $PROJ_DIR$
leads to the error message
The handle is invalid.
OK Example
Specifying Command
C:\Windows\System32\cmd.exe
and Argument
/C C:\TEMP\doit.bat $PROJ_DIR$
is OK.
All product names are trademarks or registered trademarks of their respective owners.