Closed as not planned
Description
According to the documentation:
os.defpath - The default search path used by exec*p* and spawn*p* if the environment doesn’t have a 'PATH' key.
However, on Windows is has a hardcoded C:\bin
. Starting with Windows 2000, it has no sense because only admins can write outside of %USERPROFILE% and %TMP%. Moreover, I couldn't grep any Python machinery that adds this directory to PATH before exec/spawn.
This value appeared 1 Aug 1994 when neither standard paths nor access rights existed:
Lines 19 to 24 in 2979b01
Metadata
Metadata
Assignees
Labels
No labels