diff options
Diffstat (limited to 'BaseTools/BinWrappers/WindowsLike')
-rw-r--r-- | BaseTools/BinWrappers/WindowsLike/Ecc.bat | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/BaseTools/BinWrappers/WindowsLike/Ecc.bat b/BaseTools/BinWrappers/WindowsLike/Ecc.bat index 9fbb704a6e..98095cfbd4 100644 --- a/BaseTools/BinWrappers/WindowsLike/Ecc.bat +++ b/BaseTools/BinWrappers/WindowsLike/Ecc.bat @@ -1,3 +1,4 @@ @setlocal
@set ToolName=%~n0%
-@%PYTHON_HOME%\python.exe %BASE_TOOLS_PATH%\Source\Python\%ToolName%\%ToolName%.py %*
+@set PYTHONPATH=%PYTHONPATH%;%BASE_TOOLS_PATH%\Source\Python
+@%PYTHON_HOME%\python.exe -m %ToolName%.%ToolName% %*
|