[issue9265] Incorrect name passed as arg[0] when shell=True and executable specified

R. David Murray report at bugs.python.org
Thu Jul 15 17:39:02 CEST 2010


R. David Murray <rdmurray at bitdance.com> added the comment:

The test unfortunately is too fragile.  There is no guarantee that those shells will exist with those paths on any given system.  Maybe you could use 'which' to find the path to the alternate shell for use in the test, and skip it if you can't find said shell.[*]  I don't think there's a need to test more than one alternate shell.

Does this combo (executable + shell=True) have a meaning on Windows?

[*] or make issue 444582 a dependency for this bug :)

----------
nosy: +brian.curtin

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9265>
_______________________________________


More information about the Python-bugs-list mailing list