[issue16115] test that executable arg to Popen() takes precedence over args[0] arg

2012-10-02 Thread Chris Jerdonek
New submission from Chris Jerdonek: The executable argument to Popen() takes precedence over args[0] when the executable argument is provided. The test suite should include a test of this that runs on all systems. The test suite does not currently include such a test. This test is a precurs

[issue16115] test that executable arg to Popen() takes precedence over args[0] arg

2012-10-03 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue16115] test that executable arg to Popen() takes precedence over args[0] arg

2012-10-03 Thread Kushal Das
Kushal Das added the comment: Attached patch which has a new test called test_executable_precedence to test precedence of executable argument over args[0]. -- keywords: +patch nosy: +kushaldas Added file: http://bugs.python.org/file27407/executable_precedence.patch

[issue16115] test that executable arg to Popen() takes precedence over args[0] arg

2012-10-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0df5aeab229f by Andrew Svetlov in branch '3.3': Issue #16115: Add test for check that executable arg to Popen() takes precedence over args[0] arg\n\n Patch by Kushal Das http://hg.python.org/cp

[issue16115] test that executable arg to Popen() takes precedence over args[0] arg

2012-10-05 Thread Andrew Svetlov
Andrew Svetlov added the comment: Committed. Thank you, Kushal Das. BTW, please fill http://www.python.org/psf/contrib/ as contributor of Python project. We would to get that agreement from everybody who has pushed any patch. Thanks again. -- ___ Pyt

[issue16115] test that executable arg to Popen() takes precedence over args[0] arg

2012-10-05 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- resolution: -> fixed stage: test needed -> committed/rejected status: open -> closed ___ Python tracker ___ __

[issue16115] test that executable arg to Popen() takes precedence over args[0] arg

2012-10-05 Thread Chris Jerdonek
Chris Jerdonek added the comment: 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 shou

[issue16115] test that executable arg to Popen() takes precedence over args[0] arg

2012-10-05 Thread Andrew Svetlov
Andrew Svetlov added the comment: ok, it will be better. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue16115] test that executable arg to Popen() takes precedence over args[0] arg

2012-10-05 Thread Chris Jerdonek
Chris Jerdonek added the comment: Thanks, Andrew. I'm hoping to finish preparing the patch sometime this weekend. -- ___ Python tracker ___ _