[issue26189] Interpreter returns control to cmd.exe early

Ivan Pozdeev report at bugs.python.org
Mon Jan 25 18:26:51 EST 2016


Ivan Pozdeev added the comment:

@eryksun That is (was) an .lnk indeed, and adding ".lnk" to PATHEXT is exactly what I did to make it work. This is much more maintainable than registry hacks.

An .lnk is launched with ShellExecute which returns control immediately upon successful launch (see http://stackoverflow.com/questions/31855240/execute-exe-as-jpg/31861241#31861241 for how this happens from `cmd' prompt).

----------

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


More information about the Python-bugs-list mailing list