Mercurial > cpython-lru_cache-weakref
diff Lib/subprocess.py @ 77154:294f8aeb4d4b
Implemented PEP 405 (Python virtual environments).
| author | Vinay Sajip <vinay_sajip@yahoo.co.uk> |
|---|---|
| date | Sat, 26 May 2012 03:45:29 +0100 |
| parents | 2034b3de1144 |
| children | 1345cf58738d |
line wrap: on
line diff
--- a/Lib/subprocess.py Sat May 26 03:25:23 2012 +0100 +++ b/Lib/subprocess.py Sat May 26 03:45:29 2012 +0100 @@ -1021,7 +1021,7 @@ 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 "
