summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/idle.bat
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/idlelib/idle.bat')
-rwxr-xr-xLib/idlelib/idle.bat5
1 files changed, 3 insertions, 2 deletions
diff --git a/Lib/idlelib/idle.bat b/Lib/idlelib/idle.bat
index c1b5fd2..4e67868 100755
--- a/Lib/idlelib/idle.bat
+++ b/Lib/idlelib/idle.bat
@@ -1,3 +1,4 @@
@echo off
-rem Working IDLE bat for Windows - uses start instead of absolute pathname
-start idle.pyw %1 %2 %3 %4 %5 %6 %7 %8 %9
+rem Start IDLE using the appropriate Python interpreter
+set CURRDIR=%~dp0
+start %CURRDIR%..\..\pythonw.exe %CURRDIR%idle.pyw %1 %2 %3 %4 %5 %6 %7 %8 %9