@@ -501,8 +501,8 @@ def _create_launchers(self):
501501 workdir = '$EXEDIR\scripts' )
502502
503503 self .create_launcher ('WinPython Interpreter.exe' , 'python.ico' ,
504- command = 'wscript .exe' ,
505- args = r'Noshell.vbs python.bat' ,
504+ command = '$SYSDIR\cmd .exe' ,
505+ args = r'/k python.bat' ,
506506 workdir = '$EXEDIR\scripts' )
507507
508508 #self.create_launcher('IDLEX (students).exe', 'python.ico',
@@ -570,7 +570,7 @@ def _create_batch_scripts_initial(self):
570570 conv = lambda path : ";" .join (['%WINPYDIR%\\ ' + pth for pth in path ])
571571 path = conv (self .prepath ) + ";%PATH%;" + conv (self .postpath )
572572 self .create_batch_script ('env.bat' , r"""@echo off
573- set WINPYDIR=%~dp0..\\"" " + self .python_name + r"""
573+ set WINPYDIR=%~dp0..""" + " \\ " + self .python_name + r"""
574574set WINPYVER=""" + self .winpyver + r"""
575575set HOME=%~dp0..\settings
576576set WINPYARCH=WIN32
@@ -794,7 +794,7 @@ def _create_batch_scripts(self):
794794if exist "%WINPYDIR%\scripts\ptpython.exe" (
795795 "%WINPYDIR%\scripts\ptpython.exe" %*
796796) else (
797- "%WINPYDIR%\scripts\ptpython.exe" "%WINPYDIR%\ python.exe" %*
797+ "%WINPYDIR%\python.exe" %*
798798)
799799""" )
800800
0 commit comments