Eryk Sun added the comment: That depends on the shortcut. I have some shortcuts that are designed to be run from the command line (e.g. python.lnk), which take arguments and inherit the working directory of the parent process. I add .LNK to PATHEXT so I can run them as commands without a filename extension. os.startfile doesn't allow passing command-line arguments to these shortcuts.
---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30979> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com