New submission from Bastian Neuburger <b.neubur...@gsi.de>:
Hi there, in our organization Python 3.9 is installed on Windows with the PrependPath option; as expected the Install and Scripts directories are prepended to path. However if there are Python scripts with the same name as a system command (e.g. a script named ping.py vs. the included ping.exe), the Python script gets preferred if I run ping in cmd.exe or Powershell, which makes sense, since the Python script path is considered before e.g. C:\Windows\System32\. Is it possible to either change the option to append the Install and scripts directories to the systems PATH instead of prepending it or add an AppendPath option? I searched for a discussion why prepending was chosen instead of appending but I didn't find anything. ---------- components: Windows messages: 399737 nosy: bn_append, paul.moore, steve.dower, tim.golden, zach.ware priority: normal severity: normal status: open title: Windows installer: Append Python to PATH instead of prepending it type: behavior versions: Python 3.9 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue44934> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com