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

Andrew Svetlov report at bugs.python.org
Sat Mar 31 22:21:17 CEST 2012


Andrew Svetlov <andrew.svetlov at gmail.com> added the comment:

Nick's library is awesome and I +1 to include it into stdlib if Nick is ready to do.

But also I like to prevent obviously bad usage of popen.
We cannot and don't want to remove popen shell=True param, so let's add raising exception for useless parameters combination.

----------
nosy: +ncoghlan

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


More information about the Python-bugs-list mailing list