[issue16115] test that executable arg to Popen() takes precedence over args[0] arg
Chris Jerdonek
report at bugs.python.org
Fri Oct 5 22:11:11 CEST 2012
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 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.
----------
resolution: fixed ->
stage: committed/rejected -> test needed
status: closed -> open
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16115>
_______________________________________
More information about the Python-bugs-list
mailing list