On Fri, Nov 11, 2016 at 11:30 AM, Gisle Vanem via Python-list <python-list@python.org> wrote: > Thorsten Kampe wrote: > >> My goal is to verify that other shells/interpreters on Windows work >> the same way as Python when running an application or creating a sub- >> process. Cmd does not. What's else there? I have Bash here but that's >> a Cygwin executable. And Cygwin Python does not work like Windows >> Python. >> >> Any ideas? > > Is there a Python.exe in the Registry "App Paths". Either of these: > HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths > or > HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths
An "App Paths" key would be used by ShellExecuteEx, not CreateProcess, so it has no bearing on the behavior of subprocess.Popen with shell=False. -- https://mail.python.org/mailman/listinfo/python-list