Menu

Checking fails in Windows when using --addon=misra.py with python.exe

2023-12-13
2023-12-14
  • Jyrki Kolho

    Jyrki Kolho - 2023-12-13

    The following command execution fails in Windows cmd if python.exe (but not python3.exe) is in the path:
    >cppcheck.exe --addon=misra.py dummy.cpp
    Error message is:
    'python3.exe' is not recognized as an internal or external command,
    operable program or batch file.
    dummy.cpp:0:0: error: Bailing out from analysis: Checking file failed: Failed to auto detect python [internalError]

    Tested with 12.2.1 and origin/main SHA-1: 9dd729e9bec3d56daa4cbffdf8fd16aeadb9ec54

     
  • Daniel Marjamäki

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.