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 chris.jerdonek
Recipients Arfrever, asvetlov, chris.jerdonek, kushal.das, python-dev
Date 2012-10-05.20:11:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1349467871.94.0.396175735437.issue16115@psf.upfronthosting.co.za>
In-reply-to
Content
Actually, I was still working on this.  I had assigned it to myself.

+        p = subprocess.Popen(["nonexistent","-c",'import sys; sys.exit(42)'],
+                            executable=sys.executable, cwd=python_dir)

The test for the executable argument should really test the executable argument independent of the cwd argument.  Also, it would be better if the test uses a valid args[0] to demonstrate precedence.  I had prepared a test but did not upload it yet, because I also wanted to add an accompanying clarification to the docs which I am still preparing.  Reopening.
History
Date User Action Args
2012-10-05 20:11:11chris.jerdoneksetrecipients: + chris.jerdonek, Arfrever, asvetlov, python-dev, kushal.das
2012-10-05 20:11:11chris.jerdoneksetmessageid: <1349467871.94.0.396175735437.issue16115@psf.upfronthosting.co.za>
2012-10-05 20:11:11chris.jerdoneklinkissue16115 messages
2012-10-05 20:11:11chris.jerdonekcreate