diff options
| author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2012-05-26 03:45:29 +0100 |
|---|---|---|
| committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2012-05-26 03:45:29 +0100 |
| commit | bd885cf8bc59f7621b62029065a7bbfe7ab3b9fc (patch) | |
| tree | b4509ec6075d931aee2e92e6affe2a16eb578287 /Lib/subprocess.py | |
| parent | a124eb0185543ea02b835a6a41f5128c0a2943f5 (diff) | |
| download | cpython-bd885cf8bc59f7621b62029065a7bbfe7ab3b9fc.tar.gz | |
Implemented PEP 405 (Python virtual environments).
Diffstat (limited to 'Lib/subprocess.py')
| -rw-r--r-- | Lib/subprocess.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/subprocess.py b/Lib/subprocess.py index 1539891404..553f160405 100644 --- a/Lib/subprocess.py +++ b/Lib/subprocess.py @@ -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 " |
