mirror of
https://github.com/python/cpython.git
synced 2025-08-27 12:16:04 +00:00
Implemented PEP 405 (Python virtual environments).
This commit is contained in:
parent
f2bdc3690a
commit
7ded1f0f69
41 changed files with 1454 additions and 66 deletions
|
@ -1021,7 +1021,7 @@ class Popen(object):
|
|||
if not os.path.exists(w9xpopen):
|
||||
# Eeek - file-not-found - possibly an embedding
|
||||
# situation - see if we can locate it in sys.exec_prefix
|
||||
w9xpopen = os.path.join(os.path.dirname(sys.exec_prefix),
|
||||
w9xpopen = os.path.join(os.path.dirname(sys.base_exec_prefix),
|
||||
"w9xpopen.exe")
|
||||
if not os.path.exists(w9xpopen):
|
||||
raise RuntimeError("Cannot locate w9xpopen.exe, which is "
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue