[issue7939] subprocess: call([arg, arg2], shell=True) vs call(arg+" "+arg2, shell=True)

anatoly techtonik report at bugs.python.org
Wed Feb 17 07:58:26 CET 2010


anatoly techtonik <techtonik at gmail.com> added the comment:

You are right - I should read the docs, but one of the outstanding features of Python is that in many cases you can test the code faster than read documentation. =) It would help if ["ls", "-la"] example included third argument thus fully covering the concept.

----------

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


More information about the Python-bugs-list mailing list