diff --git a/make.py b/make.py index b2bf1980..ca07b8f1 100644 --- a/make.py +++ b/make.py @@ -355,7 +355,7 @@ def create_python_batch(self, name, script_name, if script_name: script_name = ' ' + script_name self.create_batch_script(name, r"""@echo off -call %~dp0env_for_icons.bat +call "%~dp0env_for_icons.bat" """ + changedir + command + script_name + options + " %*") def create_installer(self): @@ -763,7 +763,7 @@ def _create_batch_scripts(self): """) self.create_batch_script('cmd.bat', r"""@echo off -call %~dp0env_for_icons.bat +call "%~dp0env_for_icons.bat" cmd.exe /k""") self.create_batch_script('python.bat',r"""@echo off call "%~dp0env_for_icons.bat"