[issue21506] Windows MSI installer should mklink (symlink) python.exe to python2.7.exe

eryksun report at bugs.python.org
Wed May 14 19:43:40 CEST 2014


eryksun added the comment:

Here's a related superuser question: 

    http://superuser.com/q/304093

The message box shown in the older answer is what I get:

    http://i.stack.imgur.com/bqXBs.png

The problem is only with Explorer. I can execute a symbolic link to an EXE via cmd, subprocess.Popen, os.startfile (ShellExecute), and so on. Also, Explorer only does this for the executable file types that I mentioned. It has no problem opening symbolic links to .py files; the difference is the open command line for a Python.File includes a program to run:

    C:\>ftype Python.File
    Python.File="C:\Windows\py.exe" "%1" %*

It works if I change the shell\open\command for the exefile type to run via cmd /c. But that's just silly.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21506>
_______________________________________


More information about the Python-bugs-list mailing list