[issue7839] Popen should raise ValueError if pass a string when shell=False or a list when shell=True

R. David Murray report at bugs.python.org
Sun Feb 28 17:30:19 CET 2010


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

Hmm.  I liked Eric's idea, and it would be easier to get in, but 'call' is actually an argument against it.  It would mean that in addition to PopenExec and PopenShell we'd need call_exec and call_shell, and check_call_exec and check_call_shell.  Proliferating interfaces to handle a boolean parameter doesn't seem minimalist.

----------

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


More information about the Python-bugs-list mailing list