@@ -501,8 +501,8 @@ def _create_launchers(self):
501
501
workdir = '$EXEDIR\scripts' )
502
502
503
503
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' ,
506
506
workdir = '$EXEDIR\scripts' )
507
507
508
508
#self.create_launcher('IDLEX (students).exe', 'python.ico',
@@ -570,7 +570,7 @@ def _create_batch_scripts_initial(self):
570
570
conv = lambda path : ";" .join (['%WINPYDIR%\\ ' + pth for pth in path ])
571
571
path = conv (self .prepath ) + ";%PATH%;" + conv (self .postpath )
572
572
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"""
574
574
set WINPYVER=""" + self .winpyver + r"""
575
575
set HOME=%~dp0..\settings
576
576
set WINPYARCH=WIN32
@@ -794,7 +794,7 @@ def _create_batch_scripts(self):
794
794
if exist "%WINPYDIR%\scripts\ptpython.exe" (
795
795
"%WINPYDIR%\scripts\ptpython.exe" %*
796
796
) else (
797
- "%WINPYDIR%\scripts\ptpython.exe" "%WINPYDIR%\ python.exe" %*
797
+ "%WINPYDIR%\python.exe" %*
798
798
)
799
799
""" )
800
800
0 commit comments