summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/idle.bat
diff options
context:
space:
mode:
authorBrian Curtin <brian.curtin@gmail.com>2010-11-21 23:48:14 (GMT)
committerBrian Curtin <brian.curtin@gmail.com>2010-11-21 23:48:14 (GMT)
commit44c1db05fb2d0b753d18d13a415fa703aa7c0795 (patch)
tree3ac11a004b21a0287b923e8ad84d3923f02748b7 /Lib/idlelib/idle.bat
parente977fae6b8c7423cb5dd7caaeff7e84dff72f4a3 (diff)
downloadcpython-44c1db05fb2d0b753d18d13a415fa703aa7c0795.zip
cpython-44c1db05fb2d0b753d18d13a415fa703aa7c0795.tar.gz
cpython-44c1db05fb2d0b753d18d13a415fa703aa7c0795.tar.bz2
Merged revisions 86651 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86651 | brian.curtin | 2010-11-21 17:45:10 -0600 (Sun, 21 Nov 2010) | 5 lines Fix #6378. Start IDLE using the proper version of Python based on the directory tree that idle.bat resides in. Works with any/all versions of Python installed concurrently. ........
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