This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients chris.jerdonek, pitrou
Date 2012-10-09.10:15:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1349777744.97.0.575088079752.issue16170@psf.upfronthosting.co.za>
In-reply-to
Content
Try prefixing "doesnotexist" with the same dirname as sys.executable
(i.e. `os.path.join(os.path.dirname(sys.executable), "doesnotexist")`).

Python under Unix uses its own path to determine where the standard library is, and it does so by inspecting argv[0].
History
Date User Action Args
2012-10-09 10:15:45pitrousetrecipients: + pitrou, chris.jerdonek
2012-10-09 10:15:44pitrousetmessageid: <1349777744.97.0.575088079752.issue16170@psf.upfronthosting.co.za>
2012-10-09 10:15:44pitroulinkissue16170 messages
2012-10-09 10:15:44pitroucreate