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 <[email protected]>
<http://bugs.python.org/issue21506>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com