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

Narnie Harshoe report at bugs.python.org
Sun Jul 18 21:43:39 CEST 2010


Narnie Harshoe <signuplinux at gmail.com> added the comment:

I'm sorry, but the last lines in the interpreter reflect my code changes which seemed to not be sufficient, but it shows that just for this case at least, it corrects it and allows it to be run in /bin/bash shells (much of my shell code is bash since I'm linux only and this is usually available and I make use of c-like math or incrementors like $(( x++ )) in the shell code (I know, I know, I should make my code more portable such that it can run on /bin/sh, but I'm lazy).

----------

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


More information about the Python-bugs-list mailing list